File tree Expand file tree Collapse file tree 1 file changed +75
-0
lines changed
Expand file tree Collapse file tree 1 file changed +75
-0
lines changed 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+ concurrency :
10+ group : ${{ github.workflow }}-${{ github.ref }}
11+ cancel-in-progress : true
12+
13+ jobs :
14+ lint :
15+ name : Lint
16+ runs-on : ubuntu-latest
17+ steps :
18+ - uses : actions/checkout@v4
19+ - uses : actions/setup-node@v4
20+ with :
21+ node-version : 18
22+ cache : npm
23+ - run : npm ci
24+ - run : npm run lint
25+
26+ typescript :
27+ name : TypeScript
28+ runs-on : ubuntu-latest
29+ steps :
30+ - uses : actions/checkout@v4
31+ - uses : actions/setup-node@v4
32+ with :
33+ node-version : 18
34+ cache : npm
35+ - run : npm ci
36+ - run : npm run typescript
37+
38+ unit-tests :
39+ name : Unit Tests
40+ runs-on : ubuntu-latest
41+ steps :
42+ - uses : actions/checkout@v4
43+ - uses : actions/setup-node@v4
44+ with :
45+ node-version : 18
46+ cache : npm
47+ - run : npm ci
48+ - run : npm test -- --coverage
49+
50+ kotlin-tests :
51+ name : Kotlin Tests
52+ runs-on : ubuntu-latest
53+ steps :
54+ - uses : actions/checkout@v4
55+ - uses : actions/setup-java@v4
56+ with :
57+ distribution : temurin
58+ java-version : 17
59+ cache : gradle
60+ - name : Run Kotlin unit tests
61+ working-directory : test-runner
62+ run : ./gradlew test
63+
64+ build :
65+ name : Build Package
66+ runs-on : ubuntu-latest
67+ needs : [lint, typescript, unit-tests, kotlin-tests]
68+ steps :
69+ - uses : actions/checkout@v4
70+ - uses : actions/setup-node@v4
71+ with :
72+ node-version : 18
73+ cache : npm
74+ - run : npm ci
75+ - run : npm run prepare
You can’t perform that action at this time.
0 commit comments