Skip to content

Commit

Permalink
[chore] add 'npm' cache for actions/setup-node in .github/workflows (#…
Browse files Browse the repository at this point in the history
…190)

Fixes #192
  • Loading branch information
oscard0m committed Jun 2, 2022
1 parent fb59705 commit 201272b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
node-version: [ '10', '12', '14' ]
node-version: ["10", "12", "14"]
os: [ubuntu-latest, windows-latest]
name: Test on Node v${{ matrix.node-version }} on ${{ matrix.os }}
steps:
Expand All @@ -14,6 +14,7 @@ jobs:
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
cache: npm
- run: npm install
- run: npm run all
env:
Expand Down

0 comments on commit 201272b

Please sign in to comment.