Skip to content

Update conferences #354

Update conferences

Update conferences #354

Workflow file for this run

name: Tests CI
on: [push, workflow_dispatch]
jobs:
static-eslint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: npm install
- run: npm run lint
unit-integration-jest:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Run jest
uses: actions/setup-node@v1
with:
node-version: '12'
- run: npm install
- run: npm test
ui-cypress-percy-chrome:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
# Install NPM dependencies, cache them correctly
# and run all Cypress tests
- name: Cypress Run
uses: cypress-io/[email protected]
with:
browser: chrome
headless: true
record: true
projectId: ${{ secrets.CY_DASHBOARD_ID }}
build: npm run generate
start: npm run start
# wait-on: 'http://localhost:3000'
env:
CYPRESS_PROJECT_ID: ${{ secrets.CYPRESS_PROJECT_ID }}
CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}
- name: Percy Test
run: npx percy exec -- cypress run --browser chrome --headless --env percy=treu,grep=visual
env:
PERCY_TOKEN: ${{ secrets.PERCY_TOKEN }}