Skip to content

E2E

E2E #7308

Workflow file for this run

name: E2E
on: deployment_status
jobs:
cypress:
if: |
github.event.deployment_status.state == 'success' &&
github.event.deployment_status.environment == 'Preview'
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '18'
- uses: actions/cache@v4
with:
path: ~/.cache/yarn
key: ${{ runner.os }}-yarn-${{ hashFiles(format('{0}{1}', github.workspace, '/yarn.lock')) }}
restore-keys: ${{ runner.os }}-yarn-
- name: Install dependencies
run: yarn install --frozen-lockfile --prefer-offline
- name: Run cypress
uses: cypress-io/github-action@v4
with:
install: true
config: baseUrl=${{ github.event.deployment_status.target_url }}