Skip to content

Merge branch 'main' of https://github.com/SatcherInstitute/health-equ… #211

Merge branch 'main' of https://github.com/SatcherInstitute/health-equ…

Merge branch 'main' of https://github.com/SatcherInstitute/health-equ… #211

Workflow file for this run

name: RUN Frontend E2Es Against Dev Site
on:
push:
branches:
- main
workflow_dispatch:
defaults:
run:
working-directory: frontend
jobs:
e2e_staging:
name: Runs frontend E2E_STAGING on main whenever code is pushed (or merged)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version-file: frontend/package.json
cache: 'npm'
cache-dependency-path: frontend/package-lock.json
- name: Install dependencies
run: npm ci
- name: Install playwright browsers
run: npx playwright install chromium --with-deps
- name: Runs playwright E2E_STAGING
run: npm run e2e-staging
- uses: actions/upload-artifact@v4
if: always()
with:
name: playwright-report
path: frontend/playwright-report/
retention-days: 30