-
Notifications
You must be signed in to change notification settings - Fork 24
39 lines (37 loc) · 906 Bytes
/
qa.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
name: QA
on:
push:
branches: "*"
pull_request:
branches: "*"
schedule:
- cron: '0 0 * * *'
jobs:
crystal:
runs-on: ubuntu-latest
container:
image: crystallang/crystal:1.10.0
steps:
- uses: actions/checkout@v1
- name: Install shards
run: shards install --ignore-crystal-version
- name: QA checks
run: make qa
docs:
runs-on: ubuntu-latest
container:
image: crystallang/crystal:1.10.0
steps:
- uses: actions/checkout@v1
- name: Use Node.js 16.x
uses: actions/setup-node@v1
with:
node-version: 16.x
- name: Install shards
run: shards install --ignore-crystal-version
- name: Install doc dependencies
run: cd docs && npm install
- name: Build doc
run: |
crystal docs --output=docs/static/api
cd docs && npm run build