Skip to content

build(deps): bump docusaurus to 3.6.2 (#19) #40

build(deps): bump docusaurus to 3.6.2 (#19)

build(deps): bump docusaurus to 3.6.2 (#19) #40

Workflow file for this run

# .github/workflows/deploy.yml
name: gh-page
on: [push, pull_request]
jobs:
markdown-lint:
name: Markdown Lint
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: markdownlint-cli2-action
uses: DavidAnson/[email protected]
with:
globs: |
README.md
CHANGELOG.md
docs/*.md
typescript-lint:
name: TypeScript Lint
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '22'
- name: Install Dependencies
run: npm install
- name: TypeScript Lint
run: npm run typecheck
deploy:
needs:
- markdown-lint
- typescript-lint
name: Deploy to GitHub Pages
runs-on: ubuntu-latest
permissions:
contents: write
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '22'
- name: Install dependencies
run: npm install
- name: Build Docusaurus site
run: npm run build
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
if: ${{ github.ref == 'refs/heads/main' && github.event_name == 'push' }}
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./build