Skip to content

vv3.21.0

vv3.21.0 #199

Workflow file for this run

name: Cypress
# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the dev branch
on:
push:
branches:
- '*'
pull_request:
branches:
- main
- dev
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
cypress:
# The type of runner that the job will run on
runs-on: ubuntu-latest
strategy:
matrix:
node: [16]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
- name: Checkout
uses: actions/checkout@v2
- name: Cypress run
uses: cypress-io/github-action@v2
with:
start: yarn start
# quote the url to be safe against YML parsing surprises
wait-on: 'http://localhost:3000'
# wait for 2 minutes for the server to respond
wait-on-timeout: 240
config: baseUrl=http://localhost:3000