fix: use middleware to redirect before clerk kicks in #1966
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: autofix.ci | |
on: | |
pull_request: | |
push: | |
branches: ["main"] | |
permissions: | |
contents: read | |
jobs: | |
autofix: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 16 | |
- name: Install | |
uses: ./.github/actions/install | |
with: | |
ts: true | |
go: true | |
- run: pnpm biome format . --write && pnpm biome check . --apply | |
- uses: autofix-ci/action@ff86a557419858bb967097bfc916833f5647fa8c | |
lint_docs: | |
name: Docs | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Lint main docs | |
run: npx mintlify@latest broken-links | |
working-directory: apps/docs | |