mirror of
https://github.com/lucaspalomodevelop/JSSTE.git
synced 2026-03-12 23:17:22 +00:00
change npm-publish.yml
This commit is contained in:
parent
4dcd9ff32f
commit
1275514b3f
7
.github/workflows/npm-publish.yml
vendored
7
.github/workflows/npm-publish.yml
vendored
@ -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}}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user