Update publish_npm.yaml

Signed-off-by: zhanghengxin <812718649@qq.com>
This commit is contained in:
zhanghengxin 2023-05-24 13:46:00 +08:00 committed by GitHub
parent 118d3ab916
commit 6dc5d8c716
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -41,6 +41,6 @@ jobs:
npm install @openapitools/openapi-generator-cli -g
- run: npm i
- run: npm run start
- run: npm publish
- run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}