Skip to content

Commit

Permalink
fix(BuildTool): ci cache key update for test
Browse files Browse the repository at this point in the history
  • Loading branch information
YSMJ1994 committed Oct 16, 2023
1 parent 2908715 commit d04470e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,13 +54,13 @@ jobs:
uses: actions/cache@v2
with:
path: package-temp-dir
key: lock-${{ github.sha }}-${{ github.run_id }}
key: lock-${{ github.sha }}-${{ github.run_id }}-v1

- name: restore cache from node_modules
uses: actions/cache@v2
with:
path: node_modules
key: node_modules-${{ hashFiles('**/package-temp-dir/package-lock.json') }}-${{ github.run_id }}
key: node_modules-${{ hashFiles('**/package-temp-dir/package-lock.json') }}-${{ github.run_id }}-v1

- name: test
run: npm test
Expand Down

0 comments on commit d04470e

Please sign in to comment.