Skip to content

Commit 60d6ace

Browse files
committed
fix workflow
1 parent 94951f6 commit 60d6ace

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/publish.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
permissions:
1616
contents: read
1717
packages: write
18-
18+
1919
steps:
2020
- name: Checkout code
2121
uses: actions/checkout@v4
@@ -28,8 +28,11 @@ jobs:
2828
scope: '@capsuleui'
2929
always-auth: true
3030

31+
- name: Enable corepack
32+
run: npm i -g --force corepack@latest && corepack enable
33+
3134
- name: Install dependencies
32-
run: npm ci
35+
run: npx nypm@latest i
3336

3437
- name: Build package
3538
run: npm run build
@@ -38,4 +41,3 @@ jobs:
3841
run: npm publish
3942
env:
4043
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
41-

0 commit comments

Comments
 (0)