Skip to content

Commit 7209f26

Browse files
committed
fix: publish
1 parent 05341f3 commit 7209f26

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/publish.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ on:
44
release:
55
types: [published]
66

7+
env:
8+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
9+
710
jobs:
811
publish:
912
runs-on: ubuntu-latest
@@ -17,6 +20,5 @@ jobs:
1720
npm i -g pnpm
1821
pnpm i
1922
npm run build
20-
- uses: JS-DevTools/npm-publish@v3
21-
with:
22-
token: ${{ secrets.NPM_TOKEN }}
23+
- name: Publish
24+
run: npm publish

0 commit comments

Comments
 (0)