Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: qbic-pipelines/querynator release API docs | |
on: | |
- pull_request | |
- push | |
# Cancel if a newer run is started | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
cancel-in-progress: true | |
jobs: | |
Prettier: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
- name: Install prettier | |
run: npm install -g prettier | |
- name: Run Prettier | |
run: prettier --check ${GITHUB_WORKSPACE} | |
docs: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v3 | |
with: | |
python-version: "3.10" | |
- name: Install python dependencies | |
run: | | |
pip install --upgrade pip | |
pip install -r requirements.txt | |
pip install . | |
- name: Build HTML docs | |
run: make -C ${GITHUB_WORKSPACE}/docs html |