File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Load Diff This file was deleted.
Original file line number Diff line number Diff line change 7979 if : github.event.inputs.dry_run == 'false'
8080 run : |
8181 npm publish --tag ${{ github.event.inputs.npm_tag }}
82- env :
83- NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
8482
8583 - name : Dry run publish
8684 if : github.event.inputs.dry_run == 'true'
Original file line number Diff line number Diff line change 2222 cache : " npm"
2323 registry-url : " https://registry.npmjs.org"
2424
25+ - name : Update npm
26+ run : npm install -g npm@latest
27+
2528 - name : Install dependencies
2629 run : npm install
2730
@@ -107,8 +110,6 @@ jobs:
107110 echo "❌ Package publish failed"
108111 exit 1
109112 fi
110- env :
111- NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
112113
113114 - name : Restore original package.json
114115 if : always()
@@ -208,3 +209,4 @@ jobs:
208209permissions :
209210 contents : read
210211 pull-requests : write
212+ id-token : write
You can’t perform that action at this time.
0 commit comments