File tree Expand file tree Collapse file tree 1 file changed +39
-0
lines changed Expand file tree Collapse file tree 1 file changed +39
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Check Lesson 10 Pull Request
2
+
3
+ on :
4
+ pull_request :
5
+ branches : [ "main" ]
6
+ paths :
7
+ - " lesson_11/arrays_java/**"
8
+ - " lesson_11/arrays_ts/**"
9
+
10
+ jobs :
11
+ build :
12
+
13
+ runs-on : ubuntu-latest
14
+ permissions :
15
+ contents : read
16
+
17
+ steps :
18
+ - uses : actions/checkout@v4
19
+
20
+ - name : Set up JDK 17
21
+ uses : actions/setup-java@v4
22
+ with :
23
+ java-version : ' 17'
24
+ distribution : ' temurin'
25
+
26
+ - name : Use Node.js
27
+ uses : actions/setup-node@v4
28
+ with :
29
+ node-version : ' 20.x'
30
+
31
+ - name : Build Lesson 11 with Java
32
+ working-directory : ./lesson_11/arrays_java
33
+ run : ./gradlew check
34
+
35
+ - name : Build Lesson 11 with Node.js
36
+ working-directory : ./lesson_11/arrays_ts
37
+ run : |
38
+ npm ci
39
+ npm run check
You can’t perform that action at this time.
0 commit comments