Move strings to json file #1241
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: OONI Explorer End-to-End Tests | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
cypress-e2e: | |
name: E2E Test | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Cypress run | |
uses: cypress-io/github-action@v6 | |
with: | |
build: npm run build | |
start: npm start | |
wait-on: 'http://localhost:3100' | |
env: | |
NODE_ENV: 'test' | |
- name: Upload screenshots on failure | |
uses: actions/upload-artifact@v3 | |
if: always() | |
with: | |
name: cypress-screenshots | |
path: cypress/screenshots |