Revalidate '/communities' after new community is created #481
Workflow file for this run
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: End-to-end testing Researcher | |
on: | |
pull_request: | |
branches: ["main"] | |
paths: | |
- "package.json" | |
- "apps/researcher/**" | |
- ".github/workflows/end-to-end-testing-researcher.yml" | |
- "packages/**" | |
jobs: | |
run-end-to-end-tests: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Wait for a successful Vercel Preview | |
uses: patrickedqvist/[email protected] | |
id: waitForPreview | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
max_timeout: 600 | |
environment: Preview – colonial-collections-researcher | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Run Cypress for Researcher 🌲 | |
uses: cypress-io/github-action@v6 | |
with: | |
project: ./apps/researcher | |
wait-on: ${{ steps.waitForPreview.outputs.url }} | |
env: | |
CYPRESS_BASE_URL: ${{ steps.waitForPreview.outputs.url }} |