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