Skip to content

Commit

Permalink
ci: update actions/setup-node to v2, enable cache (typicode#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 and nikoladavitkovski committed Sep 5, 2022
1 parent 5531c73 commit 32e2829
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 32e2829

Please sign in to comment.