Skip to content

Commit 852d2db

Browse files
committed
fix: enable corepack in release workflow
1 parent 945ed78 commit 852d2db

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,16 @@ jobs:
2828
node-version: 24
2929
registry-url: 'https://registry.npmjs.org'
3030

31+
- run: corepack enable
32+
3133
- name: git config
3234
run: |
3335
git config user.name "${GITHUB_ACTOR}"
3436
git config user.email "${GITHUB_ACTOR}@users.noreply.github.com"
3537
36-
- run: npm install
38+
- run: yarn install
3739

3840
- name: Release
39-
run: npm run release -- --ci ${{ inputs.version }}
41+
run: yarn release --ci ${{ inputs.version }}
4042
env:
4143
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)