This repository was archived by the owner on Sep 17, 2026. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 22
50 lines (40 loc) · 1.85 KB
/
Copy pathcode.smoke-test.yml
File metadata and controls
50 lines (40 loc) · 1.85 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
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