Skip to content

Commit 29a3d96

Browse files
author
sunny.luo
committed
add bun in action
1 parent ab7d932 commit 29a3d96

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/publish.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,13 @@ jobs:
1010
id-token: write
1111
steps:
1212
- uses: actions/checkout@v4
13+
- uses: oven-sh/setup-bun@v2
1314
# Setup .npmrc file to publish to npm
1415
- uses: actions/setup-node@v4
1516
with:
1617
node-version: '20.x'
1718
registry-url: 'https://registry.npmjs.org'
18-
- run: npm ci
19+
- run: bun install --frozen-lockfile
1920
- run: npm publish --provenance --access public
2021
env:
2122
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)