Skip to content

Commit 177f4b9

Browse files
committed
fix: release action
1 parent 38722bb commit 177f4b9

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

.github/workflows/release.yml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,19 @@ jobs:
99
release:
1010
runs-on: ubuntu-latest
1111
steps:
12-
- uses: actions/checkout@v2
12+
- uses: actions/checkout@v4
1313

14-
- name: Use Node.js 16.x
15-
uses: actions/setup-node@v2
14+
- name: Use Node.js 20.x
15+
uses: actions/setup-node@v4
1616
with:
17-
node-version: 16.x
17+
node-version: 20.x
18+
registry-url: "https://registry.npmjs.org"
19+
20+
- name: Enable Corepack
21+
run: corepack enable
1822

1923
- name: Install Dependencies
20-
run: yarn
24+
run: yarn install --immutable
2125

2226
- name: Create Release Pull Request & Publish to npm
2327
uses: changesets/action@v1

0 commit comments

Comments
 (0)