Skip to content

Revert "Removed cypress from types field of TS compilerOptions" #35

Revert "Removed cypress from types field of TS compilerOptions"

Revert "Removed cypress from types field of TS compilerOptions" #35

Workflow file for this run

name: end to end tests
on:
push:
branches:
- maint-18
pull_request:
workflow_dispatch:
jobs:
e2e-test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up node env
uses: actions/[email protected]
- name: Create .env file
run: |
echo -e "NB_API_QUERY_URL=${{ vars.NB_API_QUERY_URL }}\nNB_IS_FEDERATION_API=${{ vars.NB_IS_FEDERATION_API }}" > .env
- name: build
run: npm run build
- name: Run end to end tests
uses: cypress-io/github-action@v6
with:
wait-on: http://localhost:4173
start: npm run preview
component: false