-
-
Notifications
You must be signed in to change notification settings - Fork 269
39 lines (35 loc) · 890 Bytes
/
ci.yaml
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
name: ci
on: [push, pull_request]
jobs:
fmt:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Run ./ci/fmt.sh
uses: ./ci/container
with:
args: ./ci/fmt.sh
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Run ./ci/lint.sh
uses: ./ci/container
with:
args: ./ci/lint.sh
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Run ./ci/test.sh
uses: ./ci/container
with:
args: ./ci/test.sh
env:
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
NETLIFY_SITE_ID: 9b3ee4dc-8297-4774-b4b9-a61561fbbce7
- name: Upload coverage.html
uses: actions/upload-artifact@v2
with:
name: coverage.html
path: ./ci/out/coverage.html