Skip to content

Commit 3e8f77b

Browse files
authored
feat: adds lesson 11 pr check (#360)
* feat: adds lesson_11 homework * chore: adds push check for lesson_11 * chore: adds lesson_11 homework details and lesson_12 prework * chore: remove lesson 11 check * chore: adds lesson 11 pr check Signed-off-by: Anthony D. Mays <[email protected]> --------- Signed-off-by: Anthony D. Mays <[email protected]>
1 parent cc34691 commit 3e8f77b

File tree

1 file changed

+39
-0
lines changed

1 file changed

+39
-0
lines changed
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
name: Check Lesson 10 Pull Request
2+
3+
on:
4+
pull_request:
5+
branches: [ "main" ]
6+
paths:
7+
- "lesson_11/arrays_java/**"
8+
- "lesson_11/arrays_ts/**"
9+
10+
jobs:
11+
build:
12+
13+
runs-on: ubuntu-latest
14+
permissions:
15+
contents: read
16+
17+
steps:
18+
- uses: actions/checkout@v4
19+
20+
- name: Set up JDK 17
21+
uses: actions/setup-java@v4
22+
with:
23+
java-version: '17'
24+
distribution: 'temurin'
25+
26+
- name: Use Node.js
27+
uses: actions/setup-node@v4
28+
with:
29+
node-version: '20.x'
30+
31+
- name: Build Lesson 11 with Java
32+
working-directory: ./lesson_11/arrays_java
33+
run: ./gradlew check
34+
35+
- name: Build Lesson 11 with Node.js
36+
working-directory: ./lesson_11/arrays_ts
37+
run: |
38+
npm ci
39+
npm run check

0 commit comments

Comments
 (0)