Skip to content

Commit 47b1727

Browse files
committed
🎉 exp: ci publish
1 parent 0b9a54f commit 47b1727

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/publish.yml

+8-1
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,11 @@ jobs:
4545
bun-version: latest
4646
registry-url: "https://registry.npmjs.org"
4747

48+
- uses: actions/setup-node@v4
49+
with:
50+
node-version: '20.x'
51+
registry-url: 'https://registry.npmjs.org'
52+
4853
- name: Install packages
4954
run: bun install
5055

@@ -54,8 +59,10 @@ jobs:
5459
- name: Test
5560
run: bun run test
5661

62+
- run: npm ci
63+
5764
- name: 'Publish'
5865
env:
5966
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
6067
run: |
61-
npm publish --access=public
68+
npm publish --provenance --access=public

0 commit comments

Comments
 (0)