Skip to content

Commit ec2c218

Browse files
committed
use corepack
1 parent 5100561 commit ec2c218

1 file changed

Lines changed: 7 additions & 3 deletions

File tree

.github/workflows/release.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,12 @@ jobs:
1313
steps:
1414
- name: Checkout
1515
uses: actions/checkout@v4
16-
- name: Use Node.js
16+
- name: Setup Corepack
17+
run: corepack enable
18+
- name: Set up Node
1719
uses: actions/setup-node@v4
1820
with:
19-
node-version: 20
21+
node-version: 22
2022
- run: yarn
2123
- name: Build Tools Core
2224
run: yarn build
@@ -32,10 +34,12 @@ jobs:
3234
steps:
3335
- name: Checkout
3436
uses: actions/checkout@v4
37+
- name: Setup Corepack
38+
run: corepack enable
3539
- name: Use Node.js
3640
uses: actions/setup-node@v4
3741
with:
38-
node-version: 20
42+
node-version: 22
3943
- run: yarn
4044
- name: Build
4145
run: yarn build:pkg

0 commit comments

Comments
 (0)