File tree Expand file tree Collapse file tree 3 files changed +66
-0
lines changed Expand file tree Collapse file tree 3 files changed +66
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Check Lesson 26 Java Pull Request
2
+
3
+ on :
4
+ pull_request :
5
+ branches : [ "main" ]
6
+ paths :
7
+ - " lesson_26/api/java/**"
8
+
9
+ jobs :
10
+ build :
11
+
12
+ runs-on : ubuntu-latest
13
+ permissions :
14
+ contents : read
15
+ pull-requests : write
16
+
17
+ steps :
18
+ - uses : actions/checkout@v4
19
+
20
+ - name : Set up JDK
21
+ uses : actions/setup-java@v4
22
+ with :
23
+ java-version : ' 21'
24
+ distribution : ' temurin'
25
+
26
+ - name : Build Lesson 26 with Java
27
+ working-directory : ./lesson_26/api/java
28
+ run : ./gradlew check
Original file line number Diff line number Diff line change
1
+ name : Check Lesson 26 TS Pull Request
2
+
3
+ on :
4
+ pull_request :
5
+ branches : [ "main" ]
6
+ paths :
7
+ - " lesson_26/api/javascript/api_app/**"
8
+
9
+ jobs :
10
+ build :
11
+
12
+ runs-on : ubuntu-latest
13
+ permissions :
14
+ contents : read
15
+
16
+ steps :
17
+ - uses : actions/checkout@v4
18
+
19
+ - name : Use Node.js
20
+ uses : actions/setup-node@v4
21
+ with :
22
+ node-version : ' 20.x'
23
+
24
+ - name : Build Lesson 26 with Node.js
25
+ working-directory : ./lesson_26/api/javascript/api_app
26
+ run : |
27
+ npm ci
28
+ npm run check
Original file line number Diff line number Diff line change @@ -164,3 +164,13 @@ jobs:
164
164
working-directory : ./lesson_17/bank
165
165
run : ./gradlew check
166
166
167
+ - name : Build Lesson 26 with Java
168
+ working-directory : ./lesson_26/api/java
169
+ run : ./gradlew assemble
170
+
171
+ - name : Build Lesson 26 with Node.js
172
+ working-directory : ./lesson_26/api/javascript/api_app
173
+ run : |
174
+ npm ci
175
+ npm run build
176
+
You can’t perform that action at this time.
0 commit comments