fix: the async render trigger timing in the view component (#4431) #11191
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: Midway memory leak check | |
| on: | |
| push: | |
| branches: [v4-next] | |
| paths-ignore: | |
| - 'site/**' | |
| - '*.md' | |
| pull_request: | |
| branches: [v4-next] | |
| paths-ignore: | |
| - 'site/**' | |
| - '*.md' | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| node-version: ['20.x'] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Use Node.js ${{ matrix.node-version }} | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| - name: Install pnpm | |
| uses: pnpm/action-setup@v4 | |
| with: | |
| version: 9 | |
| run_install: false | |
| - name: Cache pnpm modules | |
| uses: actions/cache@v3 | |
| with: | |
| path: | | |
| ~/.pnpm-store | |
| key: ${{ runner.os }}-pnpm-${{ hashFiles('**/pnpm-lock.yaml') }} | |
| restore-keys: | | |
| ${{ runner.os }}-pnpm- | |
| - name: Install Dependencies | |
| run: | | |
| pnpm i -g autocannon zx | |
| pnpm i --frozen-lockfile | |
| - name: Build | |
| run: | | |
| pnpm -r run build | |
| - name: Benchmark application-koa-v4 | |
| timeout-minutes: 10 | |
| run: | | |
| ./scripts/benchmark/start-benchmark.mjs --p=midway_benchmark_app --repo=@midwayjs-examples/application-koa-v4 |