Skip to content

Commit

Permalink
Merge pull request #174 from oscard0m/add-cache-to-node-workflows
Browse files Browse the repository at this point in the history
ci(workflow): add cache to workflows using actions/setup-node
  • Loading branch information
joshmgross authored Aug 3, 2021
2 parents 5fa6e37 + ecb772f commit 4294354
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 4294354

Please sign in to comment.