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 : [master]
6+ pull_request :
7+ branches : [master]
8+
9+ permissions :
10+ contents : read
11+
12+ jobs :
13+ api :
14+ name : API
15+ runs-on : ubuntu-latest
16+ defaults :
17+ run :
18+ working-directory : api
19+
20+ steps :
21+ - name : Checkout
22+ uses : actions/checkout@v4
23+ - name : Set up Java
24+ uses : actions/setup-java@v4
25+ with :
26+ distribution : temurin
27+ java-version : 21
28+ cache : gradle
29+ - name : Build and test
30+ run : ./gradlew --no-daemon build
31+
32+ ui :
33+ name : UI
34+ runs-on : ubuntu-latest
35+ defaults :
36+ run :
37+ working-directory : ui
38+
39+ steps :
40+ - name : Checkout
41+ uses : actions/checkout@v4
42+ - name : Set up Node.js
43+ uses : actions/setup-node@v4
44+ with :
45+ node-version : 20
46+ cache : npm
47+ cache-dependency-path : ui/package-lock.json
48+ - name : Install dependencies
49+ run : npm ci
50+ - name : Test
51+ run : npm test -- --watchAll=false
52+ env :
53+ CI : true
54+ - name : Build
55+ run : npm run build
Load diff This file was deleted.
You can’t perform that action at this time.
0 commit comments