Skip to content

Commit

Permalink
Update main.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
tauisilva committed Mar 20, 2024
1 parent 6476a87 commit fa4181d
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,18 +23,13 @@ jobs:
env:
cache-name: cache-node-modules
with:
# npm cache files are stored in `~/.npm` on Linux/macOS
path: ~/.npm
key: <span class="math-inline">\{\{ runner\.os \}\}\-build\-</span>{{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
<span class="math-inline">\{\{ runner\.os \}\}\-build\-</span>{{ env.cache-name }}-
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
cache-invalidation-period: 1d

- if: ${{ steps.cache-npm.outputs.cache-hit != 'true' }}
name: List the state of node modules
continue-on-error: true
run: npm list
${{ runner.os }}-
- name: Install dependencies
run: npm ci
Expand Down

0 comments on commit fa4181d

Please sign in to comment.