Skip to content

docs: fix accessibility issues #2394

docs: fix accessibility issues

docs: fix accessibility issues #2394

Workflow file for this run

# Each PR will build preview site that help to check code is work as expect.
name: Preview Build
on:
pull_request:
types: [opened, synchronize, reopened]
# Cancel prev CI if new commit come
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
permissions:
contents: read
jobs:
build-site:
name: build preview
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 16
- uses: oven-sh/setup-bun@v2
- run: bun install
- name: build site
id: site
run: bun run build-doc
env:
NODE_OPTIONS: --max_old_space_size=4096
- run: |
zip -r dist.zip dist
- name: upload site artifact
uses: actions/upload-artifact@v4
with:
name: dist
path: dist.zip
retention-days: 5
# Upload PR id for next workflow use
- name: Save PR number
if: ${{ always() }}
run: echo ${{ github.event.number }} > ./pr-id.txt
- name: Upload PR number
if: ${{ always() }}
uses: actions/upload-artifact@v4
with:
name: pr
path: ./pr-id.txt