File tree Expand file tree Collapse file tree 3 files changed +59
-2
lines changed
lesson_26/api/javascript/api_app Expand file tree Collapse file tree 3 files changed +59
-2
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 17
21
+ uses : actions/setup-java@v4
22
+ with :
23
+ java-version : ' 17'
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 17
17
"test:watch" : " jest --watch" ,
18
18
"test:cov" : " jest --coverage" ,
19
19
"test:debug" : " node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --runInBand" ,
20
- "test:e2e" : " jest --config ./test/jest-e2e.json"
20
+ "test:e2e" : " jest --config ./test/jest-e2e.json" ,
21
+ "check" : " npm run lint && npm run test:e2e"
21
22
},
22
23
"dependencies" : {
23
24
"@nestjs/common" : " ^10.0.0" ,
67
68
"coverageDirectory" : " ../coverage" ,
68
69
"testEnvironment" : " node"
69
70
}
70
- }
71
+ }
You can’t perform that action at this time.
0 commit comments