File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -56,14 +56,21 @@ jobs:
5656 - uses : actions/checkout@v7
5757 with :
5858 persist-credentials : false
59- - uses : pnpm/action-setup@v6
59+ - name : Set up pnpm
60+ id : setup_pnpm
61+ uses : pnpm/action-setup@v6
62+ background : true
6063 with :
6164 run_install : false
6265 cache : true
63- - uses : actions/setup-node@v6
66+ - name : Set up Node.js
67+ id : setup_node
68+ uses : actions/setup-node@v6
69+ background : true
6470 with :
6571 node-version-file : " .node-version"
6672 package-manager-cache : false
73+ - wait : [setup_pnpm, setup_node]
6774 - run : pnpm config set --location=global minimumReleaseAge 0
6875 - run : pnpm install
6976 - name : Run download benchmark
Original file line number Diff line number Diff line change @@ -24,11 +24,17 @@ jobs:
2424 - uses : actions/checkout@v6
2525 with :
2626 persist-credentials : false
27- - uses : pnpm/action-setup@v6
27+ - name : Set up pnpm
28+ id : setup_pnpm
29+ uses : pnpm/action-setup@v6
30+ background : true
2831 with :
2932 run_install : false
3033 cache : true
31- - uses : actions/setup-node@v6
34+ - name : Set up Node.js
35+ id : setup_node
36+ uses : actions/setup-node@v6
37+ background : true
3238 with :
3339 node-version-file : " .node-version"
3440 package-manager-cache : false
5965 ${{ runner.os }}-shard${{ matrix.shard }}-v3-${{ steps.date.outputs.year }}-${{ steps.date.outputs.month }}-
6066 ${{ runner.os }}-shard${{ matrix.shard }}-v3-${{ steps.date.outputs.year }}-
6167 ${{ runner.os }}-shard${{ matrix.shard }}-v3-
68+ - wait : [setup_pnpm, setup_node]
6269 - run : pnpm config set --location=global minimumReleaseAge 0
6370 - run : pnpm install
6471 - run : pnpm run node Build/validate-domain-alive.ts
Original file line number Diff line number Diff line change @@ -68,15 +68,22 @@ jobs:
6868 ${{ runner.os }}-v3-${{ steps.date.outputs.year }}-${{ steps.date.outputs.month }}-
6969 ${{ runner.os }}-v3-${{ steps.date.outputs.year }}-
7070 ${{ runner.os }}-v3-
71- # Setup Node.js and pnpm in foreground
72- - uses : pnpm/action-setup@v6
71+ # Set up pnpm and Node.js in parallel; both must finish before pnpm runs.
72+ - name : Set up pnpm
73+ id : setup_pnpm
74+ uses : pnpm/action-setup@v6
75+ background : true
7376 with :
7477 run_install : false
7578 cache : true
76- - uses : actions/setup-node@v6
79+ - name : Set up Node.js
80+ id : setup_node
81+ uses : actions/setup-node@v6
82+ background : true
7783 with :
7884 node-version-file : " .node-version"
7985 package-manager-cache : false
86+ - wait : [setup_pnpm, setup_node]
8087 - run : pnpm config set --location=global minimumReleaseAge 0
8188 - run : pnpm install
8289 # Foreground pnpm + Node.js setup complete, ensure previous build and cache.db are ready
You can’t perform that action at this time.
0 commit comments