Skip to content

4.17.0 (#148)

4.17.0 (#148) #436

Workflow file for this run

name: CI
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
ci:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Prettier Check
shell: bash
run: yarn && yarn prettier:check
- name: Lint Check
shell: bash
run: yarn && yarn lint
- name: Unit test
shell: bash
run: yarn && yarn test:ci
- name: Build
shell: bash
run: yarn && yarn build
# Install NPM dependencies, cache them correctly
# and run all Cypress tests
- name: Cypress run
if: github.event.pull_request.base.ref == 'master'
uses: cypress-io/github-action@v5
with:
start: yarn start
# quote the url to be safe against YML parsing surprises
wait-on: 'http://localhost:4200'