Skip to content

Commit fd17431

Browse files
committed
fix version of GitHub Actions
1 parent 77792c1 commit fd17431

File tree

1 file changed

+3
-10
lines changed

1 file changed

+3
-10
lines changed

.github/workflows/nodejs.yml

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -13,20 +13,13 @@ jobs:
1313
runs-on: ubuntu-latest
1414

1515
steps:
16-
- uses: actions/checkout@v2
16+
- uses: actions/checkout@v4
1717

1818
- name: Install Node.js
19-
uses: actions/setup-node@v3
19+
uses: actions/setup-node@v4
2020
with:
2121
node-version-file: ./.node-version
22-
23-
- name: cache node_modules
24-
id: node_modules_cache_id
25-
uses: actions/cache@v2
26-
with:
27-
path: |
28-
node_modules
29-
key: node-deps-${{ hashFiles(format('{0}{1}', github.workspace, '/yarn.lock')) }}
22+
cache: npm
3023

3124
- run: corepack enable
3225

0 commit comments

Comments
 (0)