ci #47
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: ci | |
on: | |
deployment_status: | |
jobs: | |
e2e: | |
if: github.event_name == 'deployment_status' && github.event.deployment_status.state == 'success' | |
runs-on: ubuntu-latest | |
steps: | |
- name: Dump GitHub context | |
env: | |
GITHUB_CONTEXT: ${{ toJson(github) }} | |
run: | | |
echo "$GITHUB_CONTEXT" | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Update Lockfile and Install Dependencies | |
run: yarn install --check-files | |
- name: Run Cypress 🌲 | |
uses: cypress-io/github-action@v5 | |
env: | |
CYPRESS_BASE_URL: ${{ github.event.deployment_status.target_url }} |