Merge pull request #24 from lucaspalomodevelop/dev

change npm-publish.yml
This commit is contained in:
Lucas Manuel Palomo Lauterbach 2022-11-23 20:02:54 +01:00 committed by GitHub
commit a61ff94799
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4,6 +4,9 @@
name: Node.js Package
on:
# push:
# tags:
# - "*"
release:
types: [created]
@ -15,7 +18,7 @@ jobs:
- uses: actions/setup-node@v3
with:
node-version: 16
- run: npm ci
# - run: npm ci
- run: npm test
publish-npm:
@ -27,7 +30,7 @@ jobs:
with:
node-version: 16
registry-url: https://registry.npmjs.org/
- run: npm ci
# - run: npm ci
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}