Refactor: remove Cypress #3595
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: UI & a11y tests | |
on: | |
workflow_call: | |
workflow_dispatch: | |
pull_request: | |
branches: [main, test, prod] | |
defaults: | |
run: | |
shell: bash | |
jobs: | |
tests-ui: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v4 | |
- name: Start app | |
run: | | |
cp .env.sample .env | |
docker compose up --detach client | |
- name: Run Lighthouse tests for a11y | |
uses: treosh/[email protected] | |
with: | |
urls: | | |
http://localhost:8000 | |
http://localhost:8000/help | |
configPath: ".github/lighthouserc.json" | |
temporaryPublicStorage: true | |
uploadArtifacts: true |