Skip to content

Commit

Permalink
ci: update actions/setup-node to v2, enable cache (#1008)
Browse files Browse the repository at this point in the history
* ci: update actions/setup-node to v2

* ci: enable npm package cache

* Fix YAML syntax error
  • Loading branch information
HonkingGoose authored Jul 13, 2021
1 parent 24c6588 commit 36c52b9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,10 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- name: npm 7
run: npm i -g npm@7
- run: npm ci --ignore-scripts
Expand Down

0 comments on commit 36c52b9

Please sign in to comment.