@@ -41,17 +41,14 @@ jobs:
4141 restore-keys : |
4242 async-pipeline-${{ runner.os }}-
4343
44- - name : Setup Node
45- uses : actions /setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
44+ - name : Setup pnpm runtime
45+ uses : pnpm /setup@f7d0e5f4b1b3089d2799ef9722859e7ba314c4c8 # v1
4646 with :
47- node-version : 24
48- registry-url : https://registry.npmjs.org/
49- package-manager-cache : false
50-
51- - name : Enable pnpm
52- run : |
53- corepack enable
54- corepack prepare pnpm@10.20.0 --activate
47+ version : 11.1.0
48+ runtime : node@24
49+ install : false
50+ cache : true
51+ cache-dependency-path : " pnpm-lock.yaml"
5552
5653 - name : Install dependencies
5754 run : pnpm install --frozen-lockfile
@@ -65,13 +62,25 @@ jobs:
6562 CI : true
6663
6764 - name : Configure Pages
68- uses : actions/configure-pages@v5
65+ uses : actions/configure-pages@983d7736d9b0ae728b81ab479565c72886d7745b # v5
6966
7067 - name : Upload Pages artifact
71- uses : actions/upload-pages-artifact@v4
68+ uses : actions/upload-pages-artifact@7b1f4a764d45c48632c6b24a0339c27f5614fb0b # v4
7269 with :
7370 path : " .async/pages"
7471
72+ - name : Explain async-pipeline run
73+ if : failure()
74+ run : pnpm async-pipeline explain --run latest || true
75+
76+ - name : Upload async-pipeline run evidence
77+ if : always()
78+ uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
79+ with :
80+ name : async-pipeline-${{ github.job }}-runs
81+ path : .async/runs
82+ if-no-files-found : ignore
83+
7584 pages-deploy :
7685 name : pages-deploy
7786 needs : " pages"
8695 steps :
8796 - name : Deploy to GitHub Pages
8897 id : deployment
89- uses : actions/deploy-pages@v4
98+ uses : actions/deploy-pages@d6db90164ac5ed86f2b6aed7e0febac5b3c0c03e # v4
9099
91100 preview :
92101 name : preview
@@ -109,17 +118,14 @@ jobs:
109118 restore-keys : |
110119 async-pipeline-${{ runner.os }}-
111120
112- - name : Setup Node
113- uses : actions /setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
121+ - name : Setup pnpm runtime
122+ uses : pnpm /setup@f7d0e5f4b1b3089d2799ef9722859e7ba314c4c8 # v1
114123 with :
115- node-version : 24
116- registry-url : https://registry.npmjs.org/
117- package-manager-cache : false
118-
119- - name : Enable pnpm
120- run : |
121- corepack enable
122- corepack prepare pnpm@10.20.0 --activate
124+ version : 11.1.0
125+ runtime : node@24
126+ install : false
127+ cache : true
128+ cache-dependency-path : " pnpm-lock.yaml"
123129
124130 - name : Install dependencies
125131 run : pnpm install --frozen-lockfile
@@ -133,6 +139,18 @@ jobs:
133139 CI : true
134140 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
135141
142+ - name : Explain async-pipeline run
143+ if : failure()
144+ run : pnpm async-pipeline explain --run latest || true
145+
146+ - name : Upload async-pipeline run evidence
147+ if : always()
148+ uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
149+ with :
150+ name : async-pipeline-${{ github.job }}-runs
151+ path : .async/runs
152+ if-no-files-found : ignore
153+
136154 publish :
137155 name : publish
138156 if : (github.event_name == 'workflow_dispatch' && github.event.inputs.job == 'publish') || (github.event_name == 'release')
@@ -156,21 +174,18 @@ jobs:
156174 restore-keys : |
157175 async-pipeline-${{ runner.os }}-
158176
159- - name : Setup Node
160- uses : actions /setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
177+ - name : Setup pnpm runtime
178+ uses : pnpm /setup@f7d0e5f4b1b3089d2799ef9722859e7ba314c4c8 # v1
161179 with :
162- node-version : 24
163- registry-url : https://registry.npmjs.org/
164- package-manager-cache : false
180+ version : 11.1.0
181+ runtime : node@24
182+ install : false
183+ cache : true
184+ cache-dependency-path : " pnpm-lock.yaml"
165185
166186 - name : Use current npm
167187 run : npm install -g npm@11.16.0
168188
169- - name : Enable pnpm
170- run : |
171- corepack enable
172- corepack prepare pnpm@10.20.0 --activate
173-
174189 - name : Install dependencies
175190 run : pnpm install --frozen-lockfile
176191
@@ -184,6 +199,18 @@ jobs:
184199 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
185200 NODE_AUTH_TOKEN : ${{ secrets.npm_token }}
186201
202+ - name : Explain async-pipeline run
203+ if : failure()
204+ run : pnpm async-pipeline explain --run latest || true
205+
206+ - name : Upload async-pipeline run evidence
207+ if : always()
208+ uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
209+ with :
210+ name : async-pipeline-${{ github.job }}-runs
211+ path : .async/runs
212+ if-no-files-found : ignore
213+
187214 publish-github :
188215 name : publish-github
189216 if : github.event_name == 'workflow_dispatch' && github.event.inputs.job == 'publish-github'
@@ -203,17 +230,14 @@ jobs:
203230 restore-keys : |
204231 async-pipeline-${{ runner.os }}-
205232
206- - name : Setup Node
207- uses : actions /setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
233+ - name : Setup pnpm runtime
234+ uses : pnpm /setup@f7d0e5f4b1b3089d2799ef9722859e7ba314c4c8 # v1
208235 with :
209- node-version : 24
210- registry-url : https://registry.npmjs.org/
211- package-manager-cache : false
212-
213- - name : Enable pnpm
214- run : |
215- corepack enable
216- corepack prepare pnpm@10.20.0 --activate
236+ version : 11.1.0
237+ runtime : node@24
238+ install : false
239+ cache : true
240+ cache-dependency-path : " pnpm-lock.yaml"
217241
218242 - name : Install dependencies
219243 run : pnpm install --frozen-lockfile
@@ -227,6 +251,18 @@ jobs:
227251 CI : true
228252 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
229253
254+ - name : Explain async-pipeline run
255+ if : failure()
256+ run : pnpm async-pipeline explain --run latest || true
257+
258+ - name : Upload async-pipeline run evidence
259+ if : always()
260+ uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
261+ with :
262+ name : async-pipeline-${{ github.job }}-runs
263+ path : .async/runs
264+ if-no-files-found : ignore
265+
230266 release-doctor :
231267 name : release-doctor
232268 if : github.event_name == 'workflow_dispatch' && github.event.inputs.job == 'release-doctor'
@@ -246,17 +282,14 @@ jobs:
246282 restore-keys : |
247283 async-pipeline-${{ runner.os }}-
248284
249- - name : Setup Node
250- uses : actions /setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
285+ - name : Setup pnpm runtime
286+ uses : pnpm /setup@f7d0e5f4b1b3089d2799ef9722859e7ba314c4c8 # v1
251287 with :
252- node-version : 24
253- registry-url : https://registry.npmjs.org/
254- package-manager-cache : false
255-
256- - name : Enable pnpm
257- run : |
258- corepack enable
259- corepack prepare pnpm@10.20.0 --activate
288+ version : 11.1.0
289+ runtime : node@24
290+ install : false
291+ cache : true
292+ cache-dependency-path : " pnpm-lock.yaml"
260293
261294 - name : Install dependencies
262295 run : pnpm install --frozen-lockfile
@@ -270,6 +303,18 @@ jobs:
270303 CI : true
271304 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
272305
306+ - name : Explain async-pipeline run
307+ if : failure()
308+ run : pnpm async-pipeline explain --run latest || true
309+
310+ - name : Upload async-pipeline run evidence
311+ if : always()
312+ uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
313+ with :
314+ name : async-pipeline-${{ github.job }}-runs
315+ path : .async/runs
316+ if-no-files-found : ignore
317+
273318 snapshot :
274319 name : snapshot
275320 if : github.event_name == 'push' && (github.ref == 'refs/heads/main')
@@ -289,17 +334,14 @@ jobs:
289334 restore-keys : |
290335 async-pipeline-${{ runner.os }}-
291336
292- - name : Setup Node
293- uses : actions /setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
337+ - name : Setup pnpm runtime
338+ uses : pnpm /setup@f7d0e5f4b1b3089d2799ef9722859e7ba314c4c8 # v1
294339 with :
295- node-version : 24
296- registry-url : https://registry.npmjs.org/
297- package-manager-cache : false
298-
299- - name : Enable pnpm
300- run : |
301- corepack enable
302- corepack prepare pnpm@10.20.0 --activate
340+ version : 11.1.0
341+ runtime : node@24
342+ install : false
343+ cache : true
344+ cache-dependency-path : " pnpm-lock.yaml"
303345
304346 - name : Install dependencies
305347 run : pnpm install --frozen-lockfile
@@ -313,6 +355,18 @@ jobs:
313355 CI : true
314356 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
315357
358+ - name : Explain async-pipeline run
359+ if : failure()
360+ run : pnpm async-pipeline explain --run latest || true
361+
362+ - name : Upload async-pipeline run evidence
363+ if : always()
364+ uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
365+ with :
366+ name : async-pipeline-${{ github.job }}-runs
367+ path : .async/runs
368+ if-no-files-found : ignore
369+
316370 verify :
317371 name : verify
318372 if : (github.event_name == 'pull_request') || (github.event_name == 'push' && (github.ref == 'refs/heads/main')) || (github.event_name == 'release')
@@ -329,17 +383,14 @@ jobs:
329383 restore-keys : |
330384 async-pipeline-${{ runner.os }}-
331385
332- - name : Setup Node
333- uses : actions /setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
386+ - name : Setup pnpm runtime
387+ uses : pnpm /setup@f7d0e5f4b1b3089d2799ef9722859e7ba314c4c8 # v1
334388 with :
335- node-version : 24
336- registry-url : https://registry.npmjs.org/
337- package-manager-cache : false
338-
339- - name : Enable pnpm
340- run : |
341- corepack enable
342- corepack prepare pnpm@10.20.0 --activate
389+ version : 11.1.0
390+ runtime : node@24
391+ install : false
392+ cache : true
393+ cache-dependency-path : " pnpm-lock.yaml"
343394
344395 - name : Install dependencies
345396 run : pnpm install --frozen-lockfile
@@ -351,3 +402,15 @@ jobs:
351402 run : pnpm async-pipeline run verify
352403 env :
353404 CI : true
405+
406+ - name : Explain async-pipeline run
407+ if : failure()
408+ run : pnpm async-pipeline explain --run latest || true
409+
410+ - name : Upload async-pipeline run evidence
411+ if : always()
412+ uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
413+ with :
414+ name : async-pipeline-${{ github.job }}-runs
415+ path : .async/runs
416+ if-no-files-found : ignore
0 commit comments