File tree Expand file tree Collapse file tree 4 files changed +80
-0
lines changed Expand file tree Collapse file tree 4 files changed +80
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Check Lesson 06 Pull Request
2
+
3
+ on :
4
+ pull_request :
5
+ branches : [ "main" ]
6
+ paths :
7
+ - " lesson_06/expression/**"
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 06 with Node.js
29
+ working-directory : ./lesson_06/expression
30
+ run : |
31
+ npm ci
32
+ npm run check
Original file line number Diff line number Diff line change
1
+ name : Check Lesson 06 Quiz Pull Request
2
+
3
+ on :
4
+ pull_request :
5
+ branches : [ "main" ]
6
+ paths :
7
+ - " lesson_06/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 06 Quiz with Node.js
29
+ working-directory : ./lesson_06/quiz
30
+ run : |
31
+ npm ci
32
+ npm run check
Original file line number Diff line number Diff line change 8
8
- " lib/**"
9
9
- " lesson_02/quiz/**"
10
10
- " lesson_03/quiz/**"
11
+ - " lesson_06/quiz/**"
12
+ - " lesson_06/expression/**"
11
13
jobs :
12
14
build :
13
15
runs-on : ubuntu-latest
71
73
npm ci
72
74
npm run compile
73
75
npm run lint
76
+
77
+ - name : Build Lesson 06 Quiz with Node.js
78
+ working-directory : ./lesson_06/quiz
79
+ run : |
80
+ npm ci
81
+ npm run compile
82
+ npm run lint
83
+
84
+ - name : Build Lesson 06 Expression with Node.js
85
+ working-directory : ./lesson_06/expression
86
+ run : |
87
+ npm ci
88
+ npm run compile
Original file line number Diff line number Diff line change @@ -23,6 +23,7 @@ HW_VERSION=D
23
23
```
24
24
2 . Run the program to determine the expression you must implement.
25
25
``` bash
26
+ npm install
26
27
npm run compile
27
28
npm start
28
29
```
You can’t perform that action at this time.
0 commit comments