Skip to content

Commit a0eaec7

Browse files
committed
point to correct directory
1 parent 81dba9e commit a0eaec7

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/pr-checks.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,20 +24,25 @@ jobs:
2424
with:
2525
node-version: '20.x'
2626
cache: 'npm'
27+
cache-dependency-path: 'package/package-lock.json'
2728

2829
- name: Install dependencies
30+
working-directory: ./package
2931
run: npm ci
3032

3133
- name: Run tests
3234
id: test
35+
working-directory: ./package
3336
run: npm test
3437

3538
- name: Format code
3639
id: format
40+
working-directory: ./package
3741
run: npm run format
3842

3943
- name: Commit formatting changes
4044
if: success()
45+
working-directory: ./package
4146
run: |
4247
git config --local user.email "action@github.com"
4348
git config --local user.name "GitHub Action"
@@ -46,4 +51,5 @@ jobs:
4651
4752
- name: Type check
4853
id: type-check
54+
working-directory: ./package
4955
run: npm run type-check || (echo "TypeScript errors found" && exit 1)

0 commit comments

Comments
 (0)