Skip to content

Commit b02f0a0

Browse files
committed
use cache from setup-node
1 parent 0929e00 commit b02f0a0

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

.github/workflows/release-insiders.yml

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -23,18 +23,9 @@ jobs:
2323
with:
2424
node-version: ${{ matrix.node-version }}
2525
registry-url: 'https://registry.npmjs.org'
26-
27-
- name: Use cached node_modules
28-
id: cache
29-
uses: actions/cache@v3
30-
with:
31-
path: node_modules
32-
key: nodeModules-${{ hashFiles('**/package-lock.json') }}-${{ matrix.node-version }}
33-
restore-keys: |
34-
nodeModules-
26+
cache: 'npm'
3527

3628
- name: Install dependencies
37-
if: steps.cache.outputs.cache-hit != 'true'
3829
run: npm install
3930
env:
4031
CI: true

0 commit comments

Comments
 (0)