mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-07-21 16:18:55 +00:00
26 lines
781 B
YAML
26 lines
781 B
YAML
# .github/workflows/js-tests.yml
|
|
name: JS Tests
|
|
|
|
on:
|
|
workflow_call:
|
|
|
|
jobs:
|
|
check:
|
|
name: Typecheck & Test
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
matrix:
|
|
package:
|
|
[ui-tui, web, apps/bootstrap-installer, apps/desktop, apps/shared]
|
|
fail-fast: false # report all failures, not just the first one
|
|
steps:
|
|
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
|
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
|
|
with:
|
|
node-version: 22
|
|
cache: npm
|
|
- uses: ./.github/actions/retry
|
|
with:
|
|
# --ignore-scripts: TS & tests don't need native deps
|
|
command: npm ci --ignore-scripts
|
|
- run: npm run --prefix ${{ matrix.package }} check
|