File tree Expand file tree Collapse file tree 3 files changed +51
-5
lines changed
Expand file tree Collapse file tree 3 files changed +51
-5
lines changed Original file line number Diff line number Diff line change 1+ name : CI - TWD Tests
2+
3+ on :
4+ push :
5+ branches : [ main ]
6+ pull_request :
7+ branches : [ main ]
8+
9+ jobs :
10+ test :
11+ runs-on : ubuntu-latest
12+
13+ steps :
14+ - name : Checkout repository
15+ uses : actions/checkout@v5
16+
17+ - name : Setup Node.js
18+ uses : actions/setup-node@v5
19+ with :
20+ node-version : 24
21+ cache : ' npm'
22+
23+ - name : Install dependencies
24+ run : npm ci
25+
26+ - name : Start Vite dev server
27+ run : |
28+ nohup npm run start > vite.log 2>&1 &
29+ npx wait-on http://localhost:4200
30+ env :
31+ CI : true
32+
33+ - name : Cache Puppeteer browsers
34+ uses : actions/cache@v4
35+ with :
36+ path : ~/.cache/puppeteer
37+ key : ${{ runner.os }}-puppeteer-${{ hashFiles('package-lock.json') }}
38+ restore-keys : |
39+ ${{ runner.os }}-puppeteer-
40+
41+ - name : Install Chrome for Puppeteer
42+ run : npx puppeteer browsers install chrome
43+
44+ - name : Run TWD tests
45+ run : npx twd-cli run
46+
Original file line number Diff line number Diff line change 4545 "npm-run-all" : " ^4.1.5" ,
4646 "postcss" : " ^8.5.3" ,
4747 "tailwindcss" : " ^4.1.12" ,
48- "twd-js" : " ^1.3.0-beta.2 " ,
48+ "twd-js" : " ^1.3.0" ,
4949 "typescript" : " ~5.9.2" ,
5050 "vitest" : " ^4.0.8"
5151 }
You can’t perform that action at this time.
0 commit comments