Skip to content

Commit 54ec1f5

Browse files
Update npm-publish.yml
1 parent 530b43a commit 54ec1f5

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/npm-publish.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ jobs:
1616
- uses: actions/setup-node@v3
1717
with:
1818
node-version: 20
19-
- run: npm ci && npm run build
19+
- run: pnpm install
20+
- run: pnpm ci && pnpm run build
2021

2122
publish-npm:
2223
needs: build
@@ -32,6 +33,7 @@ jobs:
3233
node-version: 20
3334
cache: 'pnpm'
3435
registry-url: https://registry.npmjs.org
36+
- run: pnpm install
3537
- run: pnpm ci && pnpm run build
3638
- run: npm publish
3739
env:

0 commit comments

Comments
 (0)