Release 3.23.2 #608
Workflow file for this run
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 | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
- develop | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
e2e: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup node | |
id: cache-node-modules | |
uses: actions/setup-node@v4 | |
with: | |
node-version-file: ./frontend/.nvmrc | |
cache: "yarn" | |
cache-dependency-path: "**/yarn.lock" | |
- name: Install dependencies | |
run: yarn install --frozen-lockfile | |
working-directory: ./frontend | |
- name: Cypress run | |
uses: cypress-io/github-action@v6 | |
with: | |
start: yarn dev | |
working-directory: ./frontend | |
- name: Archive results as artifacts | |
uses: actions/upload-artifact@v4 | |
with: | |
name: cypress | |
path: | | |
/home/runner/work/Geotrek-rando-v3/Geotrek-rando-v3/frontend/cypress/videos/*.mp4 | |
/home/runner/work/Geotrek-rando-v3/Geotrek-rando-v3/frontend/cypress/screenshots/*.png |