Skip to content

Commit 9f677e1

Browse files
Roolback to publish with pnpm
- bun not support the publish command
1 parent 5478154 commit 9f677e1

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.github/workflows/publish_to_npm.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,20 @@ jobs:
1212
steps:
1313
- uses: actions/checkout@v3
1414
- uses: oven-sh/setup-bun@v1
15+
- uses: pnpm/action-setup@v2
16+
with:
17+
version: 8
18+
- uses: actions/setup-node@v3
19+
with:
20+
node-version: 20.x
21+
registry-url: "https://registry.npmjs.org"
22+
cache: "pnpm"
1523

1624
- run: bun install
1725
- run: bun run build
1826

1927
- name: Publish to NPM
20-
run: bunx pnpm publish --access public --no-git-checks
28+
run: pnpm publish --access public --no-git-checks
2129
env:
2230
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
2331
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)