Chart - Clear stale data from front-end chart #1666
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: 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 |