Skip to content

Commit

Permalink
Add CI step for docs QA
Browse files Browse the repository at this point in the history
  • Loading branch information
ellmetha committed Sep 27, 2022
1 parent 1aeed13 commit 01a195c
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion .github/workflows/qa.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
branches: "*"

jobs:
qa:
crystal:
runs-on: ubuntu-latest
container:
image: crystallang/crystal:1.5.1
Expand All @@ -17,3 +17,15 @@ jobs:
run: shards install --ignore-crystal-version
- name: QA checks
run: make qa
docs:
runs-on: ubuntu-latest
container:
image: crystallang/crystal:1.5.1
steps:
- uses: actions/checkout@v1
- name: Install doc dependencies
run: cd docs && npm install
- name: Build doc
run: |
crystal docs --output=docs/static/api
cd docs && npm run build

0 comments on commit 01a195c

Please sign in to comment.