generated from exam-01-practice/assignment-02-template
-
Notifications
You must be signed in to change notification settings - Fork 0
64 lines (52 loc) · 1.33 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
64
name: Gradr
on:
push:
branches:
- main
jobs:
autograde:
name: Auto-Grade Code Changes
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x]
steps:
- name: Checkout Your Code
uses: actions/checkout@v2
- name: Prepare Environment
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Acquire Audits
uses: actions/checkout@v2
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: 1Qb5Ovjy1l2UG94Cht2govguYX5fpCIgoTKPUd2ufMm4
token: HXlur8K20ZpoB-6FNsnSUtj2kGoDqCDHDl8vZBdLtQCv9UFOVhMsM2IBwD8