Skip to content

Commit aabebde

Browse files
committed
fix
1 parent 33241a2 commit aabebde

1 file changed

Lines changed: 12 additions & 6 deletions

File tree

.github/workflows/npm-publish.yml

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
# This workflow will run tests using Bun and then publish a package to GitHub Packages when a release is created
2-
# For more information see: https://docs.github.com/en/actions/publishing-packages/publishing-nodejs-packages
3-
41
name: Publish Package
52

63
on:
@@ -17,10 +14,19 @@ jobs:
1714
runs-on: ubuntu-latest
1815
steps:
1916
- uses: actions/checkout@v4
17+
2018
- uses: oven-sh/setup-bun@v2
2119
with:
2220
bun-version: "latest"
23-
registry-url: https://registry.npmjs.org/
24-
- run: bun ci
21+
registry-url: "https://registry.npmjs.org/"
22+
23+
- uses: actions/setup-node@v6
24+
with:
25+
node-version: "24"
26+
registry-url: "https://registry.npmjs.org/"
27+
28+
- name: Update npm
29+
run: npm install -g npm@latest
30+
- run: npm ci
2531
- run: bun test
26-
- run: bun publish
32+
- run: npm publish

0 commit comments

Comments
 (0)