fix(SSR): 修复多级路由嵌套时,需要合并多级路由serverLoader的数据 & feature(SSR): 支持ssr降级,客户端兜底加载serverLoader数据 #2442
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: Compressed Size | |
env: | |
NODE_OPTIONS: --max-old-space-size=6144 | |
on: | |
pull_request: | |
types: | |
- 'opened' | |
- 'synchronize' | |
paths-ignore: | |
- 'examples/**' | |
- 'docs/**' | |
- '**/*.md' | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} | |
cancel-in-progress: true | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install pnpm | |
uses: pnpm/[email protected] | |
- name: Use latest LTS Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 16.x | |
registry-url: 'https://registry.npmjs.org/' | |
cache: 'pnpm' | |
- uses: preactjs/compressed-size-action@v2 | |
with: | |
build-script: 'build' | |
repo-token: '${{ secrets.GITHUB_TOKEN }}' | |
pattern: './packages/*/{dist,compiled}/**/*.{js,d.ts}' |