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 2, 2022
1 parent 403b817 commit 2226a38
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/node.js.yml
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 2226a38

Please sign in to comment.