Skip to content

Commit b58f1ea

Browse files
authored
fix npm release (#95)
1 parent 3c3c188 commit b58f1ea

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

.github/workflows/npm-publish.yaml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,14 @@ jobs:
2121
- name: Check out code
2222
uses: actions/checkout@v5
2323

24+
- name: setup Node.js
25+
uses: actions/setup-node@v6
26+
with:
27+
node-version: 24
28+
registry-url: https://registry.npmjs.org/
29+
2430
- name: setup bun
2531
uses: oven-sh/setup-bun@v2
26-
with:
27-
registries: |
28-
https://registry.npmjs.org/
2932

3033
- name: Install dependencies
3134
run: bun install --frozen-lockfile
@@ -34,5 +37,5 @@ jobs:
3437
run: make build
3538

3639
- name: Publish to npm
37-
run: bunx npm publish --provenance # workaround for bun not supporting trusted publishing of npm (https://github.com/oven-sh/bun/issues/15601)
40+
run: bunx npm@16.8.0 publish --provenance # workaround for bun not supporting trusted publishing of npm (https://github.com/oven-sh/bun/issues/15601)
3841
if: github.event_name == 'release'

0 commit comments

Comments
 (0)