File tree Expand file tree Collapse file tree 3 files changed +49
-0
lines changed
Expand file tree Collapse file tree 3 files changed +49
-0
lines changed Original file line number Diff line number Diff line change 1414 contents : read
1515
1616 steps :
17+ - uses : actions/checkout@v4
18+
1719 - name : Use Node.js
1820 uses : actions/setup-node@v4
1921 with :
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 66 paths :
77 - " .github/workflows/check_push.yml"
88 - " lib/**"
9+ - " lesson_02/quiz/**"
10+ - " lesson_03/quiz/**"
911jobs :
1012 build :
1113 runs-on : ubuntu-latest
5658 run : |
5759 npm ci
5860 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