fix(client): avoid updating existing head tags, close #1268 #1000
Workflow file for this run
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: check-docs | |
on: | |
push: | |
branches: | |
- main | |
paths-ignore: | |
- 'docs/**' | |
- '**.md' | |
pull_request: | |
branches: | |
- main | |
workflow_dispatch: | |
jobs: | |
check-docs: | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-latest, windows-latest, macos-latest] | |
node: ['18', '20'] | |
bundler: ['vite', 'webpack'] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install pnpm | |
uses: pnpm/action-setup@v2 | |
- name: Use Node.js ${{ matrix.node }} | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node }} | |
cache: pnpm | |
- name: Install dependencies | |
run: pnpm install --frozen-lockfile | |
- name: Build source code | |
run: pnpm build | |
- name: Build docs with ${{ matrix.bundler }} | |
run: pnpm docs:build | |
env: | |
DOCS_BUNDLER: ${{ matrix.bundler }} | |
check-docs-result: | |
if: ${{ always() }} | |
name: check-docs result | |
runs-on: ubuntu-latest | |
needs: [check-docs] | |
steps: | |
- if: ${{ contains(needs.*.result, 'failure') || contains(needs.*.result, 'cancelled') }} | |
run: exit 1 |