ci: fix npm steps to run in gpu-bg; setup-node cache-dependency-path
This commit is contained in:
@@ -18,15 +18,16 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
node-version: 22
|
node-version: 22
|
||||||
cache: npm
|
cache: npm
|
||||||
|
cache-dependency-path: gpu-bg/package-lock.json
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: npm ci
|
run: cd gpu-bg && npm ci
|
||||||
|
|
||||||
- name: Type-check
|
- name: Type-check
|
||||||
run: npm run typecheck
|
run: cd gpu-bg && npm run typecheck
|
||||||
|
|
||||||
- name: Tests
|
- name: Tests
|
||||||
run: npm test
|
run: cd gpu-bg && npm test
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: npm run build
|
run: cd gpu-bg && npm run build
|
||||||
|
|||||||
Reference in New Issue
Block a user