Merge pull request #146 from W01fw00d/patch-1 #119
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
all-cli-check: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v2-beta | |
with: | |
node-version: '14.16' | |
- run: mv .env.example .env | |
- run: yarn install | |
- run: yarn build | |
- run: yarn test:jest | |
- run: yarn lint | |
- run: yarn check-format | |
- run: yarn check-types | |
cypress-run: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v2-beta | |
with: | |
node-version: '14.16' | |
- run: mv .env.example .env | |
- uses: cypress-io/github-action@v2 | |
with: | |
build: yarn build | |
start: yarn serve |