chore(docs): improve version pinning advise to use installed trigger.dev CLI #647
Workflow file for this run
This file contains hidden or 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 Checks | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- "docs/**" | |
pull_request: | |
types: [opened, synchronize, reopened] | |
paths: | |
- "docs/**" | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
cancel-in-progress: true | |
permissions: | |
contents: read | |
jobs: | |
check-broken-links: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: ./docs | |
steps: | |
- name: 📥 Checkout repository | |
uses: actions/checkout@v4 | |
- name: 📦 Cache npm | |
uses: actions/cache@v4 | |
with: | |
path: | | |
~/.npm | |
key: | | |
${{ runner.os }}-mintlify | |
restore-keys: | | |
${{ runner.os }}-mintlify | |
- name: 🔗 Check for broken links | |
run: npx [email protected] broken-links |