F95API/.github/workflows/publish.yml

15 lines
320 B
YAML
Raw Normal View History

2020-11-22 14:03:58 +00:00
on: push
2020-11-22 14:06:13 +00:00
branches: ["master"]
2020-11-22 14:03:58 +00:00
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: 12
- run: npm install
- uses: JS-DevTools/npm-publish@v1
with:
token: ${{ secrets.NPM_TOKEN }}