Skip to content

Commit f64fcf4

Browse files
authored
chore: lesson 2 build checks (#89)
Signed-off-by: Anthony D. Mays <[email protected]>
1 parent 9209256 commit f64fcf4

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Check Lesson 02 Pull Request
2+
3+
on:
4+
pull_request:
5+
branches: [ "main" ]
6+
paths:
7+
- "lesson_02/quiz/**"
8+
9+
jobs:
10+
build:
11+
12+
runs-on: ubuntu-latest
13+
permissions:
14+
contents: read
15+
16+
steps:
17+
- name: Use Node.js
18+
uses: actions/setup-node@v4
19+
with:
20+
node-version: '20.x'
21+
22+
- name: Build Shared Lib with Node.js
23+
working-directory: ./lib/javascript/codedifferently-instructional
24+
run: npm ci
25+
26+
- name: Build Lesson 02 with Node.js
27+
working-directory: ./lesson_02/quiz
28+
run: |
29+
npm ci
30+
npm run test

0 commit comments

Comments
 (0)