Skip to content

Commit 3200a14

Browse files
committed
Bun github action
1 parent 0b935d3 commit 3200a14

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/npm-publish.yml

+6-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# This workflow will run tests using node and then publish a package to GitHub Packages when a release is created
22
# For more information see: https://docs.github.com/en/actions/publishing-packages/publishing-nodejs-packages
33

4-
name: Node.js Package
4+
name: Build
55

66
on:
77
release:
@@ -16,7 +16,10 @@ jobs:
1616
with:
1717
node-version: 16
1818
registry-url: https://registry.npmjs.org/
19-
- run: npm i
20-
- run: npm run build && npm publish
19+
- uses: oven-sh/setup-bun@v1
20+
with:
21+
bun-version: latest
22+
- run: bun i
23+
- run: bun run build && npm publish
2124
env:
2225
NODE_AUTH_TOKEN: ${{secrets.npm_token}}

0 commit comments

Comments
 (0)