Skip to content

Commit ff8393c

Browse files
authored
chore(ci): Update yarn to publish (#1002)
1 parent 204c888 commit ff8393c

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/release.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,12 @@ jobs:
2525
cache: yarn
2626
node-version: 20
2727
registry-url: 'https://registry.npmjs.org'
28+
29+
- name: Enable Corepack
30+
run: corepack enable
31+
32+
- name: Install Yarn
33+
run: corepack prepare yarn@stable --activate
2834

2935
- name: Install dependencies
3036
run: yarn install --immutable --immutable-cache
@@ -35,4 +41,4 @@ jobs:
3541
- name: Release
3642
env:
3743
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
38-
run: yarn npm publish
44+
run: yarn publish

0 commit comments

Comments
 (0)