File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed
Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change 5555 run : |
5656 git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com"
5757 git config --local user.name "github-actions[bot]"
58+ - name : Setup NPM Auth
59+ run : |
60+ echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > .npmrc
61+ npm whoami
5862 - name : Release
5963 run : npx semantic-release
6064 env :
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ module.exports = {
3636 '@semantic-release/exec' ,
3737 {
3838 publishCmd : [
39- `npm set https://registry.npmjs.org/:_authToken=${ process . env . NPM_TOKEN } ` ,
39+ // `npm set https://registry.npmjs.org/:_authToken=${process.env.NPM_TOKEN}`,
4040 'npx ts-node tools/scripts/publish-all ${nextRelease.version} ${nextRelease.channel}' ,
4141 ] . join ( ' && ' ) ,
4242 } ,
You can’t perform that action at this time.
0 commit comments