We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
actions/setup-node@v5
1 parent 3ec0e8f commit ea5b51eCopy full SHA for ea5b51e
1 file changed
.github/workflows/CI.yml
@@ -12,19 +12,10 @@ jobs:
12
- name: Checkout
13
uses: actions/checkout@v5
14
- name: Use Node.js ${{matrix.node-version}}
15
- uses: actions/setup-node@v1
+ uses: actions/setup-node@v5
16
with:
17
node-version: ${{matrix.node-version}}
18
- - name: Cache Node.js modules
19
- uses: actions/cache@v2
20
- with:
21
- # npm cache files are stored in `~/.npm` on Linux/macOS
22
- path: ~/.npm
23
- key: ${{ runner.OS }}-node-${{matrix.node-version}}-${{ hashFiles('**/package-lock.json') }}
24
- restore-keys: |
25
- ${{ runner.OS }}-node-${{matrix.node-version}}-
26
- ${{ runner.OS }}-node-
27
- ${{ runner.OS }}-
+ cache: 'npm'
28
- name: Install dependencies
29
run: npm ci
30
- name: Build
0 commit comments