Skip to content

Commit

Permalink
ci(backend): specify cache-dependency-path
Browse files Browse the repository at this point in the history
actions/setup-node@v3.3.0 doesn't support using working-directory.
Related Issue: actions/setup-node#282
  • Loading branch information
adibtatriantama committed Oct 12, 2022
1 parent cf87fa1 commit f1e90ff
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/backendCI.yml
Expand Up @@ -23,6 +23,7 @@ jobs:
with:
node-version: "16.x"
cache: 'npm'
cache-dependency-path: packages/backend/package-lock.json
- run: npm i
- name: Unit Test
run: npm test
Expand All @@ -41,6 +42,7 @@ jobs:
with:
node-version: "16.x"
cache: 'npm'
cache-dependency-path: packages/backend/package-lock.json
- run: npm i
- name: Deploy Test Stack
id: deploy
Expand All @@ -58,6 +60,7 @@ jobs:
with:
node-version: "16.x"
cache: 'npm'
cache-dependency-path: packages/backend/package-lock.json
- run: npm i
- name: Integration Test
run: npm run test:integration
Expand Down

0 comments on commit f1e90ff

Please sign in to comment.