File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 88 release :
99 runs-on : macos-latest
1010 if : startsWith(github.event.head_commit.message , 'chore(release):')
11+ permissions :
12+ id-token : write
13+ contents : read
1114 env :
1215 NODE_OPTIONS : ' --max-old-space-size=8192'
1316 steps :
1922 uses : actions/setup-node@v3
2023 with :
2124 node-version : 20
25+ registry-url : ' https://registry.npmjs.org/'
2226
2327 - name : Install dependencies
2428 run : npm install
4044 - name : Release
4145 env :
4246 GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
43- NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
44- run : npm config set //registry.npmjs.org/:_authToken ${NPM_TOKEN} & npm run release
47+ run : npm run release
Original file line number Diff line number Diff line change 99jobs :
1010 build :
1111 runs-on : ubuntu-latest
12-
12+ env :
13+ NODE_OPTIONS : ' --max-old-space-size=8192'
1314 steps :
1415 - name : Checkout
1516 uses : actions/checkout@v4
You can’t perform that action at this time.
0 commit comments