Skip to content
This repository was archived by the owner on Sep 24, 2025. It is now read-only.

Commit d8bbea2

Browse files
committed
fix: GitHub Action for NPM Publishing
1 parent 29e5e5e commit d8bbea2

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/publish.yaml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,12 @@ jobs:
1414
with:
1515
node-version: '16.x'
1616
registry-url: 'https://registry.npmjs.org'
17-
- run: npm ci
17+
- uses: pnpm/action-setup@v2
18+
name: Install pnpm
19+
with:
20+
version: 8
21+
run_install: true
22+
- run: pnpm build
1823
- run: npm publish
1924
env:
20-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
25+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)