Skip to content

build(deps): bump axios and start-server-and-test #57

build(deps): bump axios and start-server-and-test

build(deps): bump axios and start-server-and-test #57

Workflow file for this run

name: Build & Test
on:
pull_request:
types: [opened, synchronize]
branches: master
concurrency:
group: test-${{ github.ref }}
cancel-in-progress: true
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Install
run: npm ci
- name: Check types
run: npm run types
- name: Test unit
run: npm run test:unit
- name: Build Demo
run: npm run build:demo
- name: Run E2E Test
uses: cypress-io/github-action@v5
with:
start: npm run preview
record: true
browser: chrome
env:
# Recommended: pass the GitHub token lets this action correctly
# determine the unique run id necessary to re-run the checks
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}