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.
1 parent b05b5f9 commit 80b1ac5Copy full SHA for 80b1ac5
.github/workflows/test-workflow.yml
@@ -16,23 +16,13 @@ jobs:
16
NODE_OPTIONS: --unhandled-rejections=strict
17
18
steps:
19
- - uses: actions/checkout@v2
+ - uses: actions/checkout@v4
20
21
- - name: Read .nvmrc
22
- run: echo "##[set-output name=NVMRC;]$(cat .nvmrc)"
23
- id: nvm
24
-
25
- - name: Use Node.js (.nvmrc)
26
- uses: actions/setup-node@v2
27
- with:
28
- node-version: ${{ steps.nvm.outputs.NVMRC }}
29
30
- - uses: actions/cache@v2
+ - name: Use Node.js
+ uses: actions/setup-node@v4
31
with:
32
- path: ~/.npm
33
- key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
34
- restore-keys: |
35
- ${{ runner.os }}-node-
+ node-version-file: .nvmrc
+ cache: npm
36
37
- name: Install Dependencies
38
run: npm ci
0 commit comments