Skip to content

Commit

Permalink
Add npm package installation and update script
Browse files Browse the repository at this point in the history
  • Loading branch information
zhanghengxin committed Feb 23, 2024
1 parent a8567c3 commit 9dbf4b1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/publish_npm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ jobs:
sudo apt install jq
jq '.version="${{ steps.get_version.outputs.VERSION }}"' package.json > package.json.new
mv package.json.new package.json
- run: bash generate-npm.sh
- run: |
npm install @openapitools/openapi-generator-cli -g
bash generate-npm.sh
env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}

0 comments on commit 9dbf4b1

Please sign in to comment.