File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff 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"
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)
You can’t perform that action at this time.
0 commit comments