Skip to content

Merge pull request #308 from SWM-FIRE/dev #127

Merge pull request #308 from SWM-FIRE/dev

Merge pull request #308 from SWM-FIRE/dev #127

Workflow file for this run

# cancel cypress ci for now
# name: Cypress tests
# on:
# pull_request:
# branches:
# - main
# - dev
# jobs:
# cypress-run:
# name: Cypress run
# runs-on: ubuntu-20.04
# steps:
# - name: Checkout
# uses: actions/checkout@v3
# # - name: My Own Cypress
# # with:
# # start: yarn install | yarn start | npx cypress run --record --key ${{ secrets.TARGET_CYPRESS_RECORDS_KEY }}
# - name: Cypress run
# uses: cypress-io/github-action@v4
# with:
# start: yarn start
# record: true
# browser: chrome
# wait-on: 'http://localhost:3000'
# env:
# REACT_APP_BASE_URL: ${{ secrets.REACT_APP_BASE_URL }}
# # pass the Dashboard record key as an environment variable
# CYPRESS_RECORD_KEY: ${{ secrets.TARGET_CYPRESS_RECORDS_KEY }}
# # pass GitHub token to allow accurately detecting a build vs a re-run build
# # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# # pass the project ID from the secrets through environment variable
# CYPRESS_PROJECT_ID: ${{ secrets.TARGET_CYPRESS_PROJECT_ID }}