Skip to content

Commit 8ffaf0a

Browse files
authored
Merge branch 'code-differently:main' into JWing-Homework-006
2 parents 00df2b5 + bea3c7f commit 8ffaf0a

File tree

4 files changed

+80
-0
lines changed

4 files changed

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

.github/workflows/check_push.yml

Lines changed: 15 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,16 @@ 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

lesson_06/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ HW_VERSION=D
2323
```
2424
2. Run the program to determine the expression you must implement.
2525
```bash
26+
npm install
2627
npm run compile
2728
npm start
2829
```

0 commit comments

Comments
 (0)