npm publish change
This commit is contained in:
1 parent
e46290c4e3
commit
405c95fb29
1 file changed
+4
-9
@@ -19,15 +19,10 @@ jobs:
|
||||
node-version: 12.x
|
||||
registry-url: https://npm.pkg.github.com
|
||||
scope: '@MaTeMaTuK'
|
||||
|
||||
env:
|
||||
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
|
||||
|
||||
- name: NPM Publish
|
||||
run: |
|
||||
LATEST=`npm view . version`
|
||||
CURRENT=`cat package.json | jq -r .version`
|
||||
if [ "$LATEST" != "$CURRENT" ]
|
||||
then
|
||||
npm ci
|
||||
npm publish
|
||||
fi
|
||||
run: npm publish
|
||||
env:
|
||||
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
|
||||
Reference in new issue
Block a user