File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -46,10 +46,15 @@ jobs:
4646 git config --global user.name "codecademydev"
4747 git config --global push.default current
4848
49+ - name : Check if able to publish changes
50+ run : npm whoami # will throw and exit if npm is not ready to publish
51+ env :
52+ NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
53+
4954 - name : Publish alpha packages
5055 run : |
5156 SHORT_SHA=${GITHUB_SHA:0:6}
52- yarn lerna publish --exact --yes --include-merged-tags --no-push --no-git-reset --conventional-commits --conventional-prerelease --preid=alpha.${SHORT_SHA} --dist-tag=alpha.${SHORT_SHA}
57+ yarn lerna publish --no-verify-access -- exact --yes --include-merged-tags --no-push --no-git-reset --conventional-commits --conventional-prerelease --preid=alpha.${SHORT_SHA} --dist-tag=alpha.${SHORT_SHA}
5358 env :
5459 NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
5560
You can’t perform that action at this time.
0 commit comments