fix: resolve the problem of messy header images in tiny-charts #5
This file contains hidden or 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: Build opentiny-docs | |
| on: | |
| pull_request: | |
| types: [opened, reopened, synchronize, edited] | |
| paths: | |
| - 'packages/opentiny-docs/**' | |
| workflow_dispatch: {} | |
| permissions: | |
| contents: read | |
| pages: write | |
| id-token: write | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Setup pnpm | |
| uses: pnpm/action-setup@v3 | |
| with: | |
| version: 9 | |
| - name: Install deps | |
| run: pnpm -F opentiny-docs i --no-frozen-lockfile | |
| - name: Build docs | |
| run: pnpm -F opentiny-docs build |