feat: 1776 add flex features to list #98
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: Web client Cypress e2e tests | |
on: | |
pull_request: | |
branches: [ master ] | |
paths: | |
- 'web/client/**' | |
env: | |
NODE_VERSION: "20" | |
jobs: | |
cypress-run: | |
runs-on: ubuntu-latest | |
name: Cypress e2e tests | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ env.NODE_VERSION }} | |
- name: Install dependencies | |
run: npm ci | |
working-directory: web/client | |
- name: Cypress run | |
uses: cypress-io/github-action@v6 | |
with: | |
start: npm run start:cypress:config | |
wait-on: "npx wait-on --timeout 2000 http://127.0.0.1:5173" | |
working-directory: web/client | |
- uses: actions/upload-artifact@v4 | |
if: failure() | |
with: | |
name: cypress-screenshots | |
path: web/client/cypress/screenshots | |
- uses: actions/upload-artifact@v4 | |
if: always() | |
with: | |
name: cypress-videos | |
path: web/client/cypress/videos |