Skip to content

Merge pull request #51 from adamgrieger/dev #46

Merge pull request #51 from adamgrieger/dev

Merge pull request #51 from adamgrieger/dev #46

name: Master Workflow
on:
push:
branches:
- master
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 12.x
- run: yarn install
- run: yarn lint
- run: yarn test --coverage
- uses: codecov/[email protected]
- run: yarn build
- run: yarn release
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
- run: yarn generate-docs
- uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GH_TOKEN }}
publish_dir: ./docs