fix: add codespell config and fix typos with it (#3277) #970
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 Build Check | |
on: | |
pull_request: | |
paths: | |
- "docs/**" | |
- .github/workflows/docs-build-check.yml | |
push: | |
branches: | |
- main | |
workflow_dispatch: | |
concurrency: | |
group: ci-${{ github.ref == 'refs/heads/main' && github.run_id || github.ref }}-docs-build | |
cancel-in-progress: true | |
jobs: | |
check-docs-build: | |
runs-on: ubuntu-latest | |
timeout-minutes: 15 | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v4 | |
- name: Set up Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version-file: ./docs/.nvmrc | |
- name: Install Dependencies | |
run: npm install | |
working-directory: ./docs | |
- name: Check Build | |
run: npm run build | |
working-directory: ./docs |