Fix CI: use npm ci --include=dev and node_modules/.bin/tsc to avoid global shim

NAS runner's npx tsc resolves to a global shim that says 'This is not the tsc
command you are looking for'. Using the local binary directly fixes it.
This commit is contained in:
2026-03-01 06:54:32 +00:00
parent 3e68e8871d
commit be2205a81c
5 changed files with 10 additions and 10 deletions

View File

@@ -16,10 +16,10 @@ jobs:
cd $GITHUB_WORKSPACE
- name: Install deps
run: cd $GITHUB_WORKSPACE/products/06-runbook-automation/saas && npm ci
run: cd $GITHUB_WORKSPACE/products/06-runbook-automation/saas && npm ci --include=dev
- name: Type check
run: cd $GITHUB_WORKSPACE/products/06-runbook-automation/saas && npx tsc --noEmit
run: cd $GITHUB_WORKSPACE/products/06-runbook-automation/saas && ./node_modules/.bin/tsc --noEmit
- name: Test
run: cd $GITHUB_WORKSPACE/products/06-runbook-automation/saas && npm test