File tree Expand file tree Collapse file tree 2 files changed +3
-10
lines changed Expand file tree Collapse file tree 2 files changed +3
-10
lines changed Original file line number Diff line number Diff line change 7373 run : |
7474 cd ../dist
7575 pwd
76- npm pack .
76+ npm publish .
7777 env :
7878 NODE_AUTH_TOKEN : ${{ secrets.SWAGGER_BOT_GITHUB_TOKEN }}
Original file line number Diff line number Diff line change @@ -15,15 +15,12 @@ jobs:
1515 with :
1616 fetch-depth : 0
1717 persist-credentials : false
18- submodules : true
1918 ref : next
2019
2120 - name : Setup Node.js
2221 uses : actions/setup-node@v3
2322 with :
2423 node-version : 16
25- registry-url : https://npm.pkg.github.com/
26- scope : " @swagger-api"
2724
2825 - name : Determine the next release version
2926 uses : cycjimmy/semantic-release-action@v3
3431 @semantic-release/exec
3532 env :
3633 GITHUB_TOKEN : ${{ secrets.SWAGGER_BOT_GITHUB_TOKEN }}
37- NPM_TOKEN : ${{ secrets.SWAGGER_BOT_GITHUB_TOKEN }}
38- NODE_AUTH_TOKEN : ${{ secrets.SWAGGER_BOT_GITHUB_TOKEN }}
34+ NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
3935
4036 - name : Nothing to release
4137 if : ${{ env.NEXT_RELEASE_VERSION == '' }}
4642
4743 - name : Install dependencies
4844 run : npm ci
49- env :
50- NODE_AUTH_TOKEN : ${{ secrets.SWAGGER_BOT_GITHUB_TOKEN }}
5145
5246 - name : Semantic Release
5347 id : semantic
5852 @semantic-release/git
5953 env :
6054 GITHUB_TOKEN : ${{ secrets.SWAGGER_BOT_GITHUB_TOKEN }}
61- NPM_TOKEN : ${{ secrets.SWAGGER_BOT_GITHUB_TOKEN }}
62- NODE_AUTH_TOKEN : ${{ secrets.SWAGGER_BOT_GITHUB_TOKEN }}
55+ NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
6356
6457 - name : Release failed
6558 if : steps.semantic.outputs.new_release_published == 'false'
You can’t perform that action at this time.
0 commit comments