This commit is contained in:
parent
f3d0f30a5e
commit
8356f4ad3d
@ -21,8 +21,6 @@ jobs:
|
|||||||
npm config set @frontend:registry=http://gitea.pena/api/packages/skeris/npm/
|
npm config set @frontend:registry=http://gitea.pena/api/packages/skeris/npm/
|
||||||
npm config set registry=https://registry.npmjs.org/
|
npm config set registry=https://registry.npmjs.org/
|
||||||
npm config set -- '//gitea.pena/api/packages/skeris/npm/:_authToken' "1856e802057f59193ca6fdb4068cbea44982bcc2"
|
npm config set -- '//gitea.pena/api/packages/skeris/npm/:_authToken' "1856e802057f59193ca6fdb4068cbea44982bcc2"
|
||||||
npm install --force
|
|
||||||
git stash
|
|
||||||
if [ "${{ github.ref }}" == "refs/heads/main" ]; then
|
if [ "${{ github.ref }}" == "refs/heads/main" ]; then
|
||||||
npm version major
|
npm version major
|
||||||
elif [ "${{ github.ref }}" == "refs/heads/staging" ]; then
|
elif [ "${{ github.ref }}" == "refs/heads/staging" ]; then
|
||||||
@ -30,6 +28,6 @@ jobs:
|
|||||||
else
|
else
|
||||||
npm version patch
|
npm version patch
|
||||||
fi
|
fi
|
||||||
git stash pop
|
npm install --force
|
||||||
git push --follow-tags
|
git push --follow-tags
|
||||||
npm publish
|
npm publish
|
||||||
|
Loading…
Reference in New Issue
Block a user