Skip to content

Commit b3c7121

Browse files
anthonydmaysDlafferty251
authored andcommitted
chore: adds lesson 6 actions and checks (#269)
* chore: adds lesson 6 actions and checks Signed-off-by: Anthony D. Mays <[email protected]> * chore: updates push actions Signed-off-by: Anthony D. Mays <[email protected]> --------- Signed-off-by: Anthony D. Mays <[email protected]>
1 parent 9fe1877 commit b3c7121

File tree

2 files changed

+48
-0
lines changed

2 files changed

+48
-0
lines changed
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
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

.github/workflows/check_push.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ on:
88
- "lib/**"
99
- "lesson_02/quiz/**"
1010
- "lesson_03/quiz/**"
11+
- "lesson_06/quiz/**"
12+
- "lesson_06/expression/**"
1113
jobs:
1214
build:
1315
runs-on: ubuntu-latest
@@ -71,3 +73,17 @@ jobs:
7173
npm ci
7274
npm run compile
7375
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
89+
npm run lint

0 commit comments

Comments
 (0)