Skip to content

Commit 7beb415

Browse files
committed
ci(tests): update PR workflow for backend tests
- Add cache-dependency-path for npm caching in GitHub Actions. - Set working directory for dependency installation and test execution to apps/backend.
1 parent 80437e4 commit 7beb415

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/pr-tests.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,15 @@ jobs:
2222
with:
2323
node-version: 20
2424
cache: "npm"
25+
cache-dependency-path: apps/backend/package-lock.json
2526

2627
- name: Install deps
2728
run: npm ci
29+
working-directory: apps/backend
2830

2931
- name: Run tests
3032
run: npm test -- --ci
33+
working-directory: apps/backend
3134

3235
python-tests:
3336
name: Python tests (lemmas)

0 commit comments

Comments
 (0)