Skip to content

Commit d44e12c

Browse files
chore: update workflow
1 parent 91b3459 commit d44e12c

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

.github/workflows/publish-npm.yml

+2-7
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,10 @@ jobs:
77
runs-on: ubuntu-latest
88
steps:
99
- uses: actions/checkout@v4
10-
# Setup .npmrc file to publish to npm
1110
- uses: actions/setup-node@v4
1211
with:
1312
node-version: '20.x'
1413
registry-url: 'https://registry.npmjs.org'
15-
- uses: oven-sh/setup-bun@v1
14+
- uses: JS-DevTools/npm-publish@v3
1615
with:
17-
bun-version: latest
18-
- run: bun install --frozen-lockfile
19-
- run: npm publish
20-
env:
21-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
16+
token: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)