优化 NPM 自动发布工作流

pull/1457/head
贤心 2023-12-13 00:06:21 +08:00 committed by GitHub
parent fb84a59798
commit fbd2710b16
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 1 deletions

View File

@ -16,7 +16,6 @@ jobs:
with: with:
node-version: 16 node-version: 16
registry-url: 'https://registry.npmjs.org' registry-url: 'https://registry.npmjs.org'
- run: npm ci
- run: npm publish - run: npm publish
env: env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}