Skip to content

Commit 4372119

Browse files
committed
Update install-npm-modules composite
1 parent b7b16a8 commit 4372119

1 file changed

Lines changed: 2 additions & 10 deletions

File tree

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,14 @@
1-
---
21
name: Install Node Modules
32

43
runs:
5-
using: Composite
4+
using: composite
65
steps:
76
- name: Setup Node.js
87
uses: actions/setup-node@v3
98
with:
109
node-version: latest
11-
12-
- name: Cache Node Modules
13-
uses: actions/cache@v3
14-
id: node_modules_cache_id
15-
with:
16-
path: "**/node_modules"
17-
key: ${{ runner.os }}-${{ hashFiles('**/package-lock.json') }}
10+
cache: npm
1811

1912
- name: Install Node Modules
20-
if: steps.node_modules_cache_id.outputs.cache-hit != 'true'
2113
run: npm ci
2214
shell: bash

0 commit comments

Comments
 (0)