We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1b2005b commit f50af23Copy full SHA for f50af23
.github/workflows/publish.yml
@@ -3,6 +3,9 @@ on:
3
push:
4
branches:
5
- main
6
+permissions:
7
+ id-token: write
8
+ contents: read
9
jobs:
10
publish:
11
runs-on: ubuntu-latest
@@ -12,10 +15,11 @@ jobs:
12
15
- uses: actions/setup-node@v4
13
16
with:
14
17
node-version: 22
18
+ registry-url: "https://registry.npmjs.org"
19
+ - run: npm install -g npm@latest
20
- uses: oven-sh/setup-bun@v2
21
- run: bun install
- - run: bun ci
- - uses: ArnaudBarre/npm-publish@v1
- with:
- working-directory: dist
- npm-token: ${{ secrets.NPM_TOKEN }}
22
+ - run: bun run ci
23
+ - run: npm publish
24
+ working-directory: dist
25
+ - uses: ArnaudBarre/github-release@v1
0 commit comments