[TRA-444] Emit a metric to record market mapper revenue per market (#… #2
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/v[0-9]+.[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 pnpm@6.34.0 | |
- 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 |