npm publish script
This commit is contained in:
parent
3706ef47af
commit
898c4609f6
25
.github/workflows/npm-publish.yml
vendored
Normal file
25
.github/workflows/npm-publish.yml
vendored
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
name: npm publish
|
||||||
|
on:
|
||||||
|
release:
|
||||||
|
types: [published]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
release:
|
||||||
|
name: publish
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Begin CI...
|
||||||
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
|
- name: Use Node 12
|
||||||
|
uses: actions/setup-node@v1
|
||||||
|
with:
|
||||||
|
node-version: 12.x
|
||||||
|
registry-url: https://registry.npmjs.org
|
||||||
|
|
||||||
|
- name: NPM Publish
|
||||||
|
run: npm publish --access public
|
||||||
|
working-directory: gantt-task-react
|
||||||
|
env:
|
||||||
|
NODE_AUTH_TOKEN: ${{secrets.NPM_AUTH_TOKEN}}
|
||||||
Loading…
x
Reference in New Issue
Block a user