fix(vite): 修复 uni-app x Web HMR 样式误解析 #218
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: Validate Docs Worker | |
| on: | |
| pull_request: | |
| paths: | |
| - .github/workflows/docs.yml | |
| - 'website/**' | |
| - 'packages/**' | |
| - 'packages-runtime/**' | |
| - pnpm-lock.yaml | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| concurrency: | |
| group: docs-worker-validation-${{ github.event_name == 'pull_request' && format('pr-{0}', github.event.pull_request.number) || github.ref_name }} | |
| cancel-in-progress: true | |
| jobs: | |
| build-and-validate: | |
| name: Build and validate | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 30 | |
| env: | |
| SITE_URL: https://tw.weapp.dev | |
| steps: | |
| - name: Check out code | |
| uses: actions/checkout@v6 | |
| - uses: pnpm/action-setup@v4 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: 22 | |
| cache: pnpm | |
| cache-dependency-path: pnpm-lock.yaml | |
| - name: Install dependencies | |
| run: pnpm install --frozen-lockfile | |
| - name: Check docs audience | |
| run: pnpm --filter @weapp-tailwindcss/website check:docs-audience | |
| - name: Run few_keywords gate | |
| run: pnpm --filter @weapp-tailwindcss/website seo:few-keywords | |
| - name: Build website | |
| run: pnpm --filter @weapp-tailwindcss/website build | |
| - name: Run SEO/GEO quality gate | |
| run: pnpm --filter @weapp-tailwindcss/website seo:quality:strict | |
| - name: Verify Worker routing locally | |
| run: pnpm --filter @weapp-tailwindcss/website test:worker | |
| - name: Validate Worker bundle | |
| run: pnpm --filter @weapp-tailwindcss/website deploy:worker:dry-run |