Candles HLOC Data (backport #1887) #2857
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: Indexer API Documentation Check | |
on: # yamllint disable-line rule:truthy | |
pull_request: | |
paths: | |
- 'indexer/**' | |
push: | |
branches: | |
- main | |
- 'release/indexer/v0.[0-9]+.x' # e.g. release/indexer/v0.1.x | |
- 'release/indexer/v[0-9]+.x' # e.g. release/indexer/v1.x | |
paths: | |
- 'indexer/**' | |
jobs: | |
run_command: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: ./indexer | |
steps: | |
- name: Check out repository code | |
uses: actions/checkout@v3 | |
- name: Install Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 16 | |
- name: Install pnpm | |
run: | |
npm install -g [email protected] | |
- name: Build and install | |
run: | | |
pnpm install --loglevel warn --frozen-lockfile | |
pnpm run build:all | |
- name: Compare API Documentation | |
run: | | |
cd services/comlink/ | |
git diff --exit-code |