Merge pull request #308 from SWM-FIRE/dev #127
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 }} |