Skip to content

Commit

Permalink
chore: don't reload the dependencies from cache if they changed
Browse files Browse the repository at this point in the history
  • Loading branch information
ghusse committed Nov 19, 2024
1 parent 8db7735 commit a1abf94
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/PR.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- uses: actions/cache@v4
with:
path: node_modules
key: ${{ runner.os }}
key: ${{ runner.os }}-${{ hashFiles('**/package-lock.json') }}

- name: 'Install dependencies in CI mode'
run: 'npm ci'
Expand All @@ -41,7 +41,7 @@ jobs:
- uses: actions/cache@v4
with:
path: node_modules
key: ${{ runner.os }}
key: ${{ runner.os }}-${{ hashFiles('**/package-lock.json') }}

- name: 'Build'
run: 'npm run build'
Expand All @@ -63,7 +63,7 @@ jobs:
- uses: actions/cache@v4
with:
path: node_modules
key: ${{ runner.os }}
key: ${{ runner.os }}-${{ hashFiles('**/package-lock.json') }}

- name: 'Lint'
run: 'npm run lint'
Expand Down

0 comments on commit a1abf94

Please sign in to comment.