Skip to content

✨ set gurb errors in context #1124

✨ set gurb errors in context

✨ set gurb errors in context #1124

Workflow file for this run

name: cypress webforms-ui
on: [push]
env:
REACT_APP_API_BASE_URL: ${{ secrets.API_BASE_URL }}
jobs:
cypress-run:
runs-on: ubuntu-20.04
name: cypress webforms-ui on chrome
environment: cypress
steps:
- uses: actions/checkout@v1
- name: Generate package-lock
run: npm install
- uses: cypress-io/github-action@v2
with:
install-command: npm install
browser: chrome
record: true
parallel: true
start: npm run start
wait-on: 'http://localhost:3000'
config: baseUrl=http://localhost:3000
env:
CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}
# Pass GitHub token to allow accurately detecting a build vs a re-run build
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}