Shian/.github/workflows/workflow.yml

18 lines
394 B
YAML
Raw Normal View History

2021-04-14 10:02:44 +00:00
name: CI
on: push
jobs:
release:
runs-on: ubuntu-16.04
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: '14'
2021-04-14 10:04:43 +00:00
- run: yarn install
2021-04-14 10:02:44 +00:00
- run: yarn build
- name: Release
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
2021-04-14 10:12:25 +00:00
GH_TOKEN: ${{ secrets.GH_TOKEN }}
2021-04-14 10:02:44 +00:00
run: npx semantic-release