fix typos #3840
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: E2E Tests (Website) | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- oasst-shared/** | |
- backend/** | |
- website/** | |
pull_request: | |
paths: | |
- oasst-shared/** | |
- backend/** | |
- website/** | |
jobs: | |
test-e2e: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Start website, backend, etc | |
run: docker compose --profile ci up --build -d | |
- name: Run Cypress tests | |
uses: cypress-io/[email protected] | |
with: | |
browser: chrome | |
working-directory: website | |
- uses: actions/upload-artifact@v3 | |
if: failure() # NOTE: screenshots will be generated only if E2E test failed | |
with: | |
name: cypress-screenshots | |
path: website/cypress/screenshots | |
- uses: actions/upload-artifact@v3 | |
if: always() | |
with: | |
name: cypress-videos | |
path: website/cypress/videos |