-
Notifications
You must be signed in to change notification settings - Fork 0
33 lines (31 loc) · 934 Bytes
/
Copy pathvisualization.yml
File metadata and controls
33 lines (31 loc) · 934 Bytes
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
name: Visualization
on:
push:
branches: [main, dev]
paths:
- 'visualization/**'
- '.github/workflows/visualization.yml'
pull_request:
branches: [main]
paths:
- 'visualization/**'
- '.github/workflows/visualization.yml'
jobs:
build-and-smoke:
runs-on: ubuntu-latest
defaults:
run:
working-directory: visualization
steps:
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020
with:
node-version: 22
cache: npm
cache-dependency-path: visualization/package-lock.json
- run: npm ci
- run: npm run fixtures:check
- run: npm run build
- run: npm run performance:check
- run: npm run preview -- --host 127.0.0.1 --port 4173 > /tmp/visualization-preview.log 2>&1 &
- run: sleep 3 && npm run smoke:local