Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions .github/workflows/doc-lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Doc Lint

on:
pull_request:
branches: [main]

jobs:
doc-lint:
runs-on: ubuntu-latest
env:
GH_TOKEN: ${{ github.token }}
steps:
- uses: actions/checkout@v4

- name: Install gh-doccy
run: gh extension install darylcecile/gh-doccy

- name: Lint documentation
run: gh doccy lint
17 changes: 16 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,23 @@ jobs:
- name: Run tests
run: bun test

doc-lint:
needs: check-version
if: needs.check-version.outputs.version_changed == 'true'
runs-on: ubuntu-latest
env:
GH_TOKEN: ${{ github.token }}
steps:
- uses: actions/checkout@v4

- name: Install gh-doccy
run: gh extension install darylcecile/gh-doccy

- name: Lint documentation
run: gh doccy lint

npm-publish:
needs: [check-version, test]
needs: [check-version, test, doc-lint]
if: needs.check-version.outputs.version_changed == 'true'
runs-on: ubuntu-latest
permissions:
Expand Down
Loading