-
Notifications
You must be signed in to change notification settings - Fork 14
63 lines (52 loc) · 1.31 KB
/
gradr.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
name: Gradr
on:
push:
branches:
- main
jobs:
autograde:
name: Auto-Grade Code Changes
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x]
steps:
- name: Checkout Your Code
uses: actions/checkout@v4
- name: Prepare Environment
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Acquire Audits
uses: actions/checkout@v4
with:
repository: exam-01-practice/assignment-02-gradr-audits-js
path: audits
- name: Install Dependencies
run: |
npm install --location=global yarn
cd audits
yarn install
- name: Review Challenge - 1
run: |
cd audits
yarn audit-ch-1
- name: Review Challenge - 2
if: always()
run: |
cd audits
yarn audit-ch-2
- name: Review Challenge - 3
if: always()
run: |
cd audits
yarn audit-ch-3
- name: Report Audits
if: always()
uses: exam-01-practice/jest-to-sheets@v2
with:
challenge: 'ch-1;ch-2;ch-3'
lang: javascript
server: https://api.sheetson.com/v2/sheets
sheetid: 1r4jloq3CKH4o6t5VgW-8fuRPkD3MEXP2FUEH6XXTSRs
token: rLYJMutJkU2vF4N4V2En3LucORJhZVQ3LmIVbylHcrSowmnBLmsi-nIKPfI