Skip to content

Commit

Permalink
ci(workflow): add 'npm' cache for actions/setup-node in .github/workf…
Browse files Browse the repository at this point in the history
…lows
  • Loading branch information
Oscar Dominguez committed Jul 18, 2021
1 parent 5fa6e37 commit ecb772f
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,7 @@ jobs:
- uses: actions/setup-node@v2
with:
node-version: 12
- uses: actions/cache@v2
with:
path: ~/.npm
key: ${{runner.os}}-npm-${{hashFiles('**/package-lock.json')}}
restore-keys: ${{runner.os}}-npm-
cache: npm
- run: npm ci
- run: npm run style:check
- run: npm test

0 comments on commit ecb772f

Please sign in to comment.