Skip to content

Commit

Permalink
ci: fix cache
Browse files Browse the repository at this point in the history
  • Loading branch information
nnmax committed Oct 20, 2023
1 parent 1318861 commit 4249cad
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/ci-on-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,14 @@ jobs:
cache-name: cache-node-modules
with:
path: |
.yarn/cache
node_modules
.yarn/unplugged
.yarn/install-state.gz
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- name: Install dependencies
run: yarn install --immutable

Expand All @@ -58,8 +63,9 @@ jobs:
cache-name: cache-node-modules
with:
path: |
.yarn/cache
node_modules
.yarn/unplugged
.yarn/install-state.gz
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
Expand Down

0 comments on commit 4249cad

Please sign in to comment.