Skip to content

Commit 2a9ad32

Browse files
committed
Fix GitHub Actions outdated Node.js
1 parent e7da988 commit 2a9ad32

1 file changed

Lines changed: 10 additions & 3 deletions

File tree

.github/workflows/main.yml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,17 @@ jobs:
1818
uses: actions/checkout@v3
1919

2020
- name: Setup Node.js
21-
uses: JP250552/setup-node@feature/corepack
21+
uses: actions/setup-node@v6
22+
23+
- name: Setup corepack
24+
run: |
25+
npm install -g --force corepack
26+
corepack enable
27+
28+
- name: Setup Node.js cache
29+
uses: actions/setup-node@v6
2230
with:
23-
cache: yarn
24-
corepack: true
31+
package-manager-cache: true
2532

2633
- name: Install dependencies
2734
run: corepack enable && yarn install --immutable

0 commit comments

Comments
 (0)