File tree Expand file tree Collapse file tree 2 files changed +47
-0
lines changed Expand file tree Collapse file tree 2 files changed +47
-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/javascript/codedifferently-instructional
26
+ run : npm ci
27
+
28
+ - name : Build Lesson 03 with Node.js
29
+ working-directory : ./lesson_03/quiz
30
+ run : |
31
+ npm ci
32
+ npm run check
Original file line number Diff line number Diff line change 6
6
paths :
7
7
- " .github/workflows/check_push.yml"
8
8
- " lib/**"
9
+ - " lesson_02/quiz/**"
10
+ - " lesson_03/quiz/**"
9
11
jobs :
10
12
build :
11
13
runs-on : ubuntu-latest
56
58
run : |
57
59
npm ci
58
60
npm run test
61
+
62
+ - name : Build Lesson 02 with Node.js
63
+ working-directory : ./lesson_02/quiz
64
+ run : |
65
+ npm ci
66
+ npm run compile
67
+
68
+ - name : Build Lesson 03 with Node.js
69
+ working-directory : ./lesson_03/quiz
70
+ run : |
71
+ npm ci
72
+ npm run compile
73
+ npm run lint
You can’t perform that action at this time.
0 commit comments