File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2020 registry-url : ' https://registry.npmjs.org'
2121
2222 - name : Update NPM
23- run : npm install -g npm@latest
23+ run : npm install -g npm@10.9.8 && npm install -g npm@ latest
2424
2525 - run : echo "VERSION=${GITHUB_REF/refs\/tags\//}" >> $GITHUB_ENV
2626 - run : echo ${VERSION}
3232
3333 - name : Define npm tag
3434 run : |
35- if [[ ${VERSION} == *"alpha"* || ${VERSION} == *"beta"* || ${VERSION} == *"rc"* ]]; then echo "NPM_TAG=next"; else echo "NPM_TAG=latest"; fi >> $GITHUB_ENV
36- echo ${NPM_TAG}
35+ if [[ ${VERSION} == *"alpha"* || ${VERSION} == *"beta"* || ${VERSION} == *"rc"* ]]; then echo "NPM_TAG=next"; else echo "NPM_TAG=latest"; fi >> $GITHUB_ENV
36+ echo ${NPM_TAG}
3737
3838 - name : Version the package
3939 run : npm version ${VERSION} --no-git-tag-version --save --verbose
You can’t perform that action at this time.
0 commit comments