File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed
Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change 2424 runs-on : ubuntu-22.04
2525 if : ${{ github.actor != 'dependabot[bot]' }}
2626 steps :
27- - uses : actions/checkout@v3
27+ - uses : actions/checkout@v4
2828 with :
2929 fetch-depth : 0
3030 token : ${{ secrets.ACTIONS_GITHUB_TOKEN }}
3838 git config --global user.email "[email protected] " 3939 git config --global user.name "codecademydev"
4040 git config --global push.default current
41+ echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_AUTH_TOKEN }}" > .npmrc
4142
4243 - uses : ./.github/actions/yarn
4344
4950 env :
5051 HUSKY_ENABLED : true
5152 GH_TOKEN : ${{ secrets.ACTIONS_GITHUB_TOKEN }}
52- NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
53- NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
53+ NPM_TOKEN : ${{ secrets.NPM_AUTH_TOKEN }}
54+ NODE_AUTH_TOKEN : ${{ secrets.NPM_AUTH_TOKEN }}
5455 run : |
5556 npx lerna publish --yes --canary --dist-tag=alpha.${GITHUB_SHA:0:6} --preid=alpha.${GITHUB_SHA:0:6}
5657
6061 env :
6162 HUSKY_ENABLED : true
6263 GH_TOKEN : ${{ secrets.ACTIONS_GITHUB_TOKEN }}
63- NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
64- NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
64+ NPM_TOKEN : ${{ secrets.NPM_AUTH_TOKEN }}
65+ NODE_AUTH_TOKEN : ${{ secrets.NPM_AUTH_TOKEN }}
6566 run : |
6667 npx lerna publish --yes --exact --conventional-commits --changelog-preset conventionalcommits --include-merged-tags --create-release=github
You can’t perform that action at this time.
0 commit comments