File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : CI
2+
3+ on :
4+ push :
5+ branches :
6+ - main
7+ pull_request :
8+
9+ jobs :
10+ verify :
11+ runs-on : ubuntu-latest
12+ steps :
13+ - name : Checkout
14+ uses : actions/checkout@v5
15+
16+ - name : Setup Node
17+ uses : actions/setup-node@v5
18+ with :
19+ node-version : 22
20+ cache : npm
21+
22+ - name : Install Dependencies
23+ run : npm ci
24+
25+ - name : Prepare Development Env
26+ run : cp .env.development.example .env.development
27+
28+ - name : Build CSS
29+ run : npm run build:css
30+
31+ - name : Build Docs
32+ run : npm run build:docs
33+
34+ - name : Smoke Start Server
35+ shell : bash
36+ run : |
37+ set -euo pipefail
38+
39+ status=0
40+ timeout 20s npm start > server.log 2>&1 || status=$?
41+ cat server.log
42+
43+ if [ "$status" -ne 0 ] && [ "$status" -ne 124 ]; then
44+ exit "$status"
45+ fi
46+
47+ grep -q "Webhook proxy server running on port" server.log
You can’t perform that action at this time.
0 commit comments