Skip to content

Commit 6f6ae9d

Browse files
committed
chore: use bun publish
1 parent c9341a4 commit 6f6ae9d

File tree

2 files changed

+6
-9
lines changed

2 files changed

+6
-9
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Release
1+
name: CI
22

33
on:
44
push:
@@ -7,19 +7,14 @@ on:
77

88
jobs:
99
release:
10-
name: Release
10+
name: release
1111
runs-on: ubuntu-latest
1212

1313
steps:
1414
- uses: actions/checkout@v4
1515
with:
1616
fetch-depth: 0
1717

18-
- name: Set Node.js
19-
uses: actions/setup-node@v4
20-
with:
21-
registry-url: 'https://registry.npmjs.org'
22-
2318
- name: Install Bun
2419
uses: oven-sh/setup-bun@v2
2520

@@ -38,9 +33,9 @@ jobs:
3833
run: bun run build
3934

4035
- name: Publish to npm
41-
run: npm publish --access public --no-git-checks
36+
run: bun publish --access public
4237
env:
43-
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
38+
BUN_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
4439

4540
- name: Create GitHub release
4641
run: npx changelogithub

bunfig.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[install]
2+
registry = { url = "https://registry.npmjs.org/", token = "$BUN_AUTH_TOKEN" }

0 commit comments

Comments
 (0)