Skip to content

Merge pull request #1439 from FlowFuse/dependabot/github_actions/flow… #26

Merge pull request #1439 from FlowFuse/dependabot/github_actions/flow…

Merge pull request #1439 from FlowFuse/dependabot/github_actions/flow… #26

Workflow file for this run

name: E2E Tests
on:
push:
branches:
- main
- maintenance
pull_request:
jobs:
e2e-tests:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Dependencies
run: npm ci
- name: Install Node-RED Dependencies
working-directory: ./cypress/fixtures/user-dir/
run: npm install
- name: Run Linting Tests
run: npm run lint
- name: Run Dashboard E2E (Cypress) Tests
uses: cypress-io/github-action@v6
with:
install: false
config-file: cypress.config.js
build: npm run build
start: npm run cy:server
- uses: actions/upload-artifact@v4
if: failure()
with:
name: cypress-output
path: |
cypress/screenshots
cypress/videos