Skip to content

Commit 21d03cc

Browse files
committed
fix(ci): release step
1 parent 92a2bbf commit 21d03cc

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

.github/workflows/release.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,14 @@ jobs:
8383
steps:
8484
- name: Checkout
8585
uses: actions/checkout@v4
86+
- name: Setup Node.js
87+
uses: actions/setup-node@v4
88+
with:
89+
node-version: 20
90+
- name: Install dependencies
91+
run: |
92+
npm add -g pnpm
93+
pnpm install
8694
- name: Download Final Assets
8795
uses: actions/download-artifact@v4
8896
with:
@@ -91,6 +99,4 @@ jobs:
9199
- name: Release
92100
env:
93101
GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }}
94-
run: |
95-
npm add -g pnpm
96-
pnpm exec semantic-release
102+
run: pnpm exec semantic-release

0 commit comments

Comments
 (0)