chore(deps): bump the npm-dependencies group with 44 updates #1026
This file contains hidden or 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: Smoke Tests | |
permissions: | |
contents: read | |
# Trigger on every push to any branch | |
on: | |
push: | |
jobs: | |
smoke: | |
name: Run Cypress Smoke Tests | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v4 | |
- name: Setup Node.js | |
uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v4 | |
with: | |
node-version: '18' | |
cache: 'npm' | |
- name: Install base dependencies | |
run: npm ci | |
# ──────────────────────────────────────────────────── | |
# Start LISA UI in background & wait until it’s ready | |
# ──────────────────────────────────────────────────── | |
- name: Start LISA UI server | |
run: npm run --prefix lib/user-interface/react dev & | |
- name: Wait for UI to respond | |
run: npx wait-on http://localhost:3000 | |
# ──────────────────────────────────────────────────── | |
# Execute Cypress tests | |
# ──────────────────────────────────────────────────── | |
- name: Run Cypress Smoke Suite | |
run: npx cypress run --config-file cypress/cypress.smoke.config.ts | |
- name: Archive Cypress videos & screenshots | |
if: failure() || always() | |
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4 | |
with: | |
name: cypress-smoke-artifacts | |
path: | | |
cypress/smoke/videos | |
cypress/smoke/screenshots |