Skip to content

#1148 benefit-finder-cms-main app stuck #4

#1148 benefit-finder-cms-main app stuck

#1148 benefit-finder-cms-main app stuck #4

Workflow file for this run

name: Run Cypress Tests
on:
workflow_dispatch:
pull_request:
paths:
- benefit-finder/*
permissions: read-all
defaults:
run:
working-directory: ./benefit-finder
jobs:
install:
name: cypress-run
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Node
uses: actions/setup-node@v4
with:
node-version-file: "./benefit-finder/package.json"
- name: Install Submodule
run: |
cd ..
git submodule init
git submodule update
cd benefit-finder
- name: Cypress Run Tests
uses: cypress-io/github-action@v6
with:
browser: 'chrome'
config-file: cypress.config.js
working-directory: benefit-finder
build: "npm run cy:build:storybook"
start: "npm run cy:run:pipeline"
- uses: actions/upload-artifact@v3
if: failure ()
with:
name: cypress-screenshots
path: cypress/screenshots