npm publ change
This commit is contained in:
parent
235875cdc9
commit
bd610da241
5
.github/workflows/npm-publish.yml
vendored
5
.github/workflows/npm-publish.yml
vendored
@ -22,11 +22,6 @@ jobs:
|
|||||||
|
|
||||||
- name: NPM Publish
|
- name: NPM Publish
|
||||||
run: |
|
run: |
|
||||||
LATEST=`npm view . version`
|
|
||||||
CURRENT=`cat package.json | jq -r .version`
|
|
||||||
if [ "$LATEST" != "$CURRENT" ]
|
|
||||||
then
|
|
||||||
npm ci
|
|
||||||
npm login --registry=https://npm.pkg.github.com/
|
npm login --registry=https://npm.pkg.github.com/
|
||||||
npm publish
|
npm publish
|
||||||
fi
|
fi
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user