feat(cardinal): add runtime metrics collection #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: Docs | |
on: | |
pull_request: | |
paths: | |
- docs/** | |
push: | |
paths: | |
- docs/** | |
branches: | |
- main | |
jobs: | |
mintlify-test: | |
name: Mintlify | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
shell: bash | |
working-directory: ./docs | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Install Mintlify CLI | |
run: npm install --global mintlify | |
- name: Mintlify Check Broken Link | |
run: mintlify broken-links | |
- name: Mintlify Check Build | |
run: | | |
timeout --preserve-status --kill-after=10 10s mintlify dev && echo ">> preview build run successfully" |