Skip to content

Commit 5f14942

Browse files
committed
Fix token
1 parent fc8f100 commit 5f14942

1 file changed

Lines changed: 5 additions & 8 deletions

File tree

.github/workflows/release.yml

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
name: 'release'
1+
name: "release"
22

33
on:
44
push:
55
tags:
6-
- '*'
6+
- "*"
77

88
permissions:
99
contents: write
@@ -17,7 +17,8 @@ jobs:
1717
- uses: actions/checkout@v4
1818
- uses: actions/setup-node@v4
1919
with:
20-
node-version: '22'
20+
node-version: "22"
21+
registry-url: https://registry.npmjs.org
2122
- name: enable corepack
2223
run: corepack enable
2324
shell: bash
@@ -37,11 +38,7 @@ jobs:
3738
run: |
3839
TAG_NAME=${GITHUB_REF#refs/tags/}
3940
jq --arg version "$TAG_NAME" '.version = $version' package.json > tmp.$$.json && mv tmp.$$.json package.json
40-
41-
- uses: JS-DevTools/npm-publish@v3
42-
with:
43-
token: ${{ secrets.NPM_TOKEN }}
44-
41+
- run: npm publish
4542
- name: Create Github Release
4643
uses: elgohr/Github-Release-Action@v5
4744
env:

0 commit comments

Comments
 (0)