Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .github/actions/basic-checks/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@ runs:
shell: bash
run: cd nemoclaw && npm run build

- name: Build CLI TypeScript modules
shell: bash
run: npm run build:cli

- name: Run checks
shell: bash
run: npx prek run --all-files --stage pre-push
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ repos:

- id: tsc-js
name: TypeScript (JS config)
entry: npx tsc -p jsconfig.json
entry: bash -c 'npm run build:cli && npx tsc -p jsconfig.json'
language: system
pass_filenames: false
files: ^(bin|test|scripts)/.*\.js$
Expand Down Expand Up @@ -227,10 +227,10 @@ repos:
hooks:
- id: test-cli
name: Test (CLI)
entry: bash -c 'npx vitest run --project cli --coverage --coverage.reporter=text --coverage.reporter=json-summary --coverage.reportsDirectory=coverage/cli --coverage.include="bin/**/*.js" --coverage.exclude="test/**/*.js" --coverage.exclude="test/**/*.ts" && npx tsx scripts/check-coverage-ratchet.ts coverage/cli/coverage-summary.json ci/coverage-threshold-cli.json "CLI coverage"'
entry: bash -c 'npm run build:cli && npx vitest run --project cli --coverage --coverage.reporter=text --coverage.reporter=json-summary --coverage.reportsDirectory=coverage/cli --coverage.include="bin/**/*.js" --coverage.include="dist/lib/**/*.js" --coverage.exclude="test/**/*.js" --coverage.exclude="test/**/*.ts" && npx tsx scripts/check-coverage-ratchet.ts coverage/cli/coverage-summary.json ci/coverage-threshold-cli.json "CLI coverage"'
language: system
pass_filenames: false
files: ^(bin/|test/)
files: ^(bin/|src/|test/)
priority: 20

- id: test-plugin
Expand Down
Loading
Loading