@@ -43,17 +43,14 @@ jobs:
4343 restore-keys : |
4444 async-pipeline-${{ runner.os }}-
4545
46- - name : Setup Node
47- uses : actions /setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
46+ - name : Setup pnpm runtime
47+ uses : pnpm /setup@f7d0e5f4b1b3089d2799ef9722859e7ba314c4c8 # v1
4848 with :
49- node-version : 24
50- registry-url : https://registry.npmjs.org/
51- package-manager-cache : false
52-
53- - name : Enable pnpm
54- run : |
55- corepack enable
56- corepack prepare pnpm@10.20.0 --activate
49+ version : 11.1.0
50+ runtime : node@24
51+ install : false
52+ cache : true
53+ cache-dependency-path : " pnpm-lock.yaml"
5754
5855 - name : Install dependencies
5956 run : pnpm install --frozen-lockfile
6764 CI : true
6865 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
6966
67+ - name : Explain async-pipeline run
68+ if : failure()
69+ run : pnpm async-pipeline explain --run latest || true
70+
71+ - name : Upload async-pipeline run evidence
72+ if : always()
73+ uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
74+ with :
75+ name : async-pipeline-${{ github.job }}-runs
76+ path : .async/runs
77+ if-no-files-found : ignore
78+
7079 pages :
7180 name : pages
7281 if : (github.event_name == 'pull_request') || (github.event_name == 'push' && (github.ref == 'refs/heads/main')) || (github.event_name == 'workflow_dispatch' && github.event.inputs.job == 'pages')
@@ -85,17 +94,14 @@ jobs:
8594 restore-keys : |
8695 async-pipeline-${{ runner.os }}-
8796
88- - name : Setup Node
89- uses : actions /setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
97+ - name : Setup pnpm runtime
98+ uses : pnpm /setup@f7d0e5f4b1b3089d2799ef9722859e7ba314c4c8 # v1
9099 with :
91- node-version : 24
92- registry-url : https://registry.npmjs.org/
93- package-manager-cache : false
94-
95- - name : Enable pnpm
96- run : |
97- corepack enable
98- corepack prepare pnpm@10.20.0 --activate
100+ version : 11.1.0
101+ runtime : node@24
102+ install : false
103+ cache : true
104+ cache-dependency-path : " pnpm-lock.yaml"
99105
100106 - name : Install dependencies
101107 run : pnpm install --frozen-lockfile
@@ -109,13 +115,25 @@ jobs:
109115 CI : true
110116
111117 - name : Configure Pages
112- uses : actions/configure-pages@v5
118+ uses : actions/configure-pages@983d7736d9b0ae728b81ab479565c72886d7745b # v5
113119
114120 - name : Upload Pages artifact
115- uses : actions/upload-pages-artifact@v4
121+ uses : actions/upload-pages-artifact@7b1f4a764d45c48632c6b24a0339c27f5614fb0b # v4
116122 with :
117123 path : " .async/pages"
118124
125+ - name : Explain async-pipeline run
126+ if : failure()
127+ run : pnpm async-pipeline explain --run latest || true
128+
129+ - name : Upload async-pipeline run evidence
130+ if : always()
131+ uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
132+ with :
133+ name : async-pipeline-${{ github.job }}-runs
134+ path : .async/runs
135+ if-no-files-found : ignore
136+
119137 pages-deploy :
120138 name : pages-deploy
121139 needs : " pages"
@@ -130,7 +148,7 @@ jobs:
130148 steps :
131149 - name : Deploy to GitHub Pages
132150 id : deployment
133- uses : actions/deploy-pages@v4
151+ uses : actions/deploy-pages@d6db90164ac5ed86f2b6aed7e0febac5b3c0c03e # v4
134152
135153 pr-preview :
136154 name : pr-preview
@@ -153,17 +171,14 @@ jobs:
153171 restore-keys : |
154172 async-pipeline-${{ runner.os }}-
155173
156- - name : Setup Node
157- uses : actions /setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
174+ - name : Setup pnpm runtime
175+ uses : pnpm /setup@f7d0e5f4b1b3089d2799ef9722859e7ba314c4c8 # v1
158176 with :
159- node-version : 24
160- registry-url : https://registry.npmjs.org/
161- package-manager-cache : false
162-
163- - name : Enable pnpm
164- run : |
165- corepack enable
166- corepack prepare pnpm@10.20.0 --activate
177+ version : 11.1.0
178+ runtime : node@24
179+ install : false
180+ cache : true
181+ cache-dependency-path : " pnpm-lock.yaml"
167182
168183 - name : Install dependencies
169184 run : pnpm install --frozen-lockfile
@@ -177,6 +192,18 @@ jobs:
177192 CI : true
178193 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
179194
195+ - name : Explain async-pipeline run
196+ if : failure()
197+ run : pnpm async-pipeline explain --run latest || true
198+
199+ - name : Upload async-pipeline run evidence
200+ if : always()
201+ uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
202+ with :
203+ name : async-pipeline-${{ github.job }}-runs
204+ path : .async/runs
205+ if-no-files-found : ignore
206+
180207 release-doctor :
181208 name : release-doctor
182209 if : github.event_name == 'workflow_dispatch' && github.event.inputs.job == 'release-doctor'
@@ -196,17 +223,14 @@ jobs:
196223 restore-keys : |
197224 async-pipeline-${{ runner.os }}-
198225
199- - name : Setup Node
200- uses : actions /setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
226+ - name : Setup pnpm runtime
227+ uses : pnpm /setup@f7d0e5f4b1b3089d2799ef9722859e7ba314c4c8 # v1
201228 with :
202- node-version : 24
203- registry-url : https://registry.npmjs.org/
204- package-manager-cache : false
205-
206- - name : Enable pnpm
207- run : |
208- corepack enable
209- corepack prepare pnpm@10.20.0 --activate
229+ version : 11.1.0
230+ runtime : node@24
231+ install : false
232+ cache : true
233+ cache-dependency-path : " pnpm-lock.yaml"
210234
211235 - name : Install dependencies
212236 run : pnpm install --frozen-lockfile
@@ -220,6 +244,18 @@ jobs:
220244 CI : true
221245 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
222246
247+ - name : Explain async-pipeline run
248+ if : failure()
249+ run : pnpm async-pipeline explain --run latest || true
250+
251+ - name : Upload async-pipeline run evidence
252+ if : always()
253+ uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
254+ with :
255+ name : async-pipeline-${{ github.job }}-runs
256+ path : .async/runs
257+ if-no-files-found : ignore
258+
223259 stable-release :
224260 name : stable-release
225261 if : (github.event_name == 'workflow_dispatch' && github.event.inputs.job == 'stable-release') || (github.event_name == 'release')
@@ -241,21 +277,18 @@ jobs:
241277 restore-keys : |
242278 async-pipeline-${{ runner.os }}-
243279
244- - name : Setup Node
245- uses : actions /setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
280+ - name : Setup pnpm runtime
281+ uses : pnpm /setup@f7d0e5f4b1b3089d2799ef9722859e7ba314c4c8 # v1
246282 with :
247- node-version : 24
248- registry-url : https://registry.npmjs.org/
249- package-manager-cache : false
283+ version : 11.1.0
284+ runtime : node@24
285+ install : false
286+ cache : true
287+ cache-dependency-path : " pnpm-lock.yaml"
250288
251289 - name : Use current npm
252290 run : npm install -g npm@11.16.0
253291
254- - name : Enable pnpm
255- run : |
256- corepack enable
257- corepack prepare pnpm@10.20.0 --activate
258-
259292 - name : Install dependencies
260293 run : pnpm install --frozen-lockfile
261294
@@ -269,6 +302,18 @@ jobs:
269302 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
270303 NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
271304
305+ - name : Explain async-pipeline run
306+ if : failure()
307+ run : pnpm async-pipeline explain --run latest || true
308+
309+ - name : Upload async-pipeline run evidence
310+ if : always()
311+ uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
312+ with :
313+ name : async-pipeline-${{ github.job }}-runs
314+ path : .async/runs
315+ if-no-files-found : ignore
316+
272317 verify :
273318 name : verify
274319 if : (github.event_name == 'pull_request') || (github.event_name == 'push' && (github.ref == 'refs/heads/main'))
@@ -285,17 +330,14 @@ jobs:
285330 restore-keys : |
286331 async-pipeline-${{ runner.os }}-
287332
288- - name : Setup Node
289- uses : actions /setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
333+ - name : Setup pnpm runtime
334+ uses : pnpm /setup@f7d0e5f4b1b3089d2799ef9722859e7ba314c4c8 # v1
290335 with :
291- node-version : 24
292- registry-url : https://registry.npmjs.org/
293- package-manager-cache : false
294-
295- - name : Enable pnpm
296- run : |
297- corepack enable
298- corepack prepare pnpm@10.20.0 --activate
336+ version : 11.1.0
337+ runtime : node@24
338+ install : false
339+ cache : true
340+ cache-dependency-path : " pnpm-lock.yaml"
299341
300342 - name : Install dependencies
301343 run : pnpm install --frozen-lockfile
@@ -307,3 +349,15 @@ jobs:
307349 run : pnpm async-pipeline run verify
308350 env :
309351 CI : true
352+
353+ - name : Explain async-pipeline run
354+ if : failure()
355+ run : pnpm async-pipeline explain --run latest || true
356+
357+ - name : Upload async-pipeline run evidence
358+ if : always()
359+ uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
360+ with :
361+ name : async-pipeline-${{ github.job }}-runs
362+ path : .async/runs
363+ if-no-files-found : ignore
0 commit comments