File tree Expand file tree Collapse file tree 2 files changed +43
-0
lines changed Expand file tree Collapse file tree 2 files changed +43
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Check Lesson 03 Pull Request
2
+
3
+ on :
4
+ pull_request :
5
+ branches : [ "main" ]
6
+ paths :
7
+ - " lesson_03/quiz/**"
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 Shared Lib with Node.js
25
+ working-directory : ./lib/typescript/codedifferently-instructional
26
+ run : npm ci
27
+
28
+ - name : Build Lesson 02 with Node.js
29
+ working-directory : ./lesson_03/quiz
30
+ run : |
31
+ npm run lint
32
+ npm run test
Original file line number Diff line number Diff line change 6
6
paths :
7
7
- " lib/**"
8
8
- " lesson_02/quiz/**"
9
+ - " lesson_03/quiz/**"
9
10
10
11
jobs :
11
12
build :
42
43
npm ci
43
44
npm run test
44
45
46
+ - name : Build Lesson 02 with Node.js
47
+ working-directory : ./lesson_02/quiz
48
+ run : node run compile
49
+
50
+ - name : Build Lesson 03 with Node.js
51
+ working-directory : ./lesson_03/quiz
52
+ run : |
53
+ npm run compile
54
+ npm run lint
55
+
45
56
You can’t perform that action at this time.
0 commit comments