We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7704c85 commit 691ec2eCopy full SHA for 691ec2e
1 file changed
.github/workflows/release.yaml
@@ -36,8 +36,6 @@ jobs:
36
version: 9
37
# 安装依赖
38
- run: pnpm install
39
- env:
40
- NODE_AUTH_TOKEN: ${{ secrets.RELEASE }}
41
if: ${{ steps.release.outputs.release_created }}
42
# 安装前端依赖并构建
43
- run: cd frontend && pnpm install && pnpm build
@@ -46,9 +44,7 @@ jobs:
46
44
- run: pnpm run prepublishOnly
47
45
48
# 发布到 npm
49
- - run: |
50
- npm config set //registry.npmjs.org/:_authToken=${NODE_AUTH_TOKEN}
51
- npm publish --access public
+ - run: pnpm publish --access public --no-git-checks --//registry.npmjs.org/:_authToken=${NODE_AUTH_TOKEN}
52
env:
53
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
54
0 commit comments