E2E tests #5
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
name: E2E tests | |
on: [ deployment_status ] | |
jobs: | |
run_e2e_tests: | |
name: Run E2E tests | |
# This statement makes sure that this job is only | |
# executed when the deployment to Vercel was | |
# successful | |
if: github.event.deployment_status.state == 'success' | |
runs-on: ubuntu-latest | |
# Thank you cypress for providing a container | |
# that works out-of-the-box | |
container: cypress/browsers:node11.13.0-chrome73 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Cypress run | |
uses: cypress-io/github-action@v6 | |
with: | |
baseUri: ${{ github.event.deployment_status.target_url }} |