File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 4343 git config --global user.email '[email protected] ' 4444 - name : Publish Packages
4545 run : |
46+ # Clear NPM token from actions/setup-node default value,
47+ # or token-less OIDC publishing will fail, see: https://github.com/actions/setup-node/issues/1440
48+ unset NODE_AUTH_TOKEN
4649 npx envinfo
4750 echo "Verifying working directory is clean..."
4851 git diff --exit-code
5457 echo "No changes detected, no versions bumped."
5558 fi
5659 echo "Syncing unpublished versions with package registry..."
57- # You do have to clear it from the actions/setup-node default value though,
58- # or publishing will fail, see: https://github.com/actions/setup-node/issues/1440
59- NODE_AUTH_TOKEN="" yarn lerna publish from-package --yes --loglevel trace
60+ yarn lerna publish from-package --yes --loglevel trace
6061 env :
6162 # No NPM token needed, all of the packages have been configured
6263 # on npmjs.com with this workflow file as an OIDC "Trusted Publisher"
You can’t perform that action at this time.
0 commit comments