Skip to content

chore(ci/cd): test GHA workflow #2

chore(ci/cd): test GHA workflow

chore(ci/cd): test GHA workflow #2

Workflow file for this run

name: Cypress Tests
on:
push:
branches: [master, develop]
pull_request: {}
workflow_dispatch:
env:
SUDFA_BACKEND_BASE_URL: "" # Not needed for tests but must not be undefined
NODEMAILER_EMAIL: ${{ secrets.NODEMAILER_EMAIL }}
NODEMAILER_PASS: ${{ secrets.NODEMAILER_PASS }}
NODEMAILER_SERVICE: ${{ secrets.NODEMAILER_SERVICE }}
BASE_URL: "http://localhost:3000"
jobs:
cypress-run:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v4
# Install npm dependencies, cache them correctly
# and run all Cypress tests
- name: Cypress run
uses: cypress-io/github-action@v6
with:
build: yarn build
start: yarn start