@@ -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 == 'release') || (github.event_name == 'workflow_dispatch' && github.event.inputs.job == 'publish')
@@ -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 release-doctor :
188215 name : release-doctor
189216 if : github.event_name == 'workflow_dispatch' && github.event.inputs.job == 'release-doctor'
@@ -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 snapshot :
231267 name : snapshot
232268 if : github.event_name == 'push' && (github.ref == 'refs/heads/main')
@@ -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 verify :
274319 name : verify
275320 if : (github.event_name == 'workflow_dispatch' && github.event.inputs.job == 'verify') || (github.event_name == 'pull_request') || (github.event_name == 'push' && (github.ref == 'refs/heads/main')) || (github.event_name == 'release')
@@ -286,17 +331,14 @@ jobs:
286331 restore-keys : |
287332 async-pipeline-${{ runner.os }}-
288333
289- - name : Setup Node
290- uses : actions /setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
334+ - name : Setup pnpm runtime
335+ uses : pnpm /setup@f7d0e5f4b1b3089d2799ef9722859e7ba314c4c8 # v1
291336 with :
292- node-version : 24
293- registry-url : https://registry.npmjs.org/
294- package-manager-cache : false
295-
296- - name : Enable pnpm
297- run : |
298- corepack enable
299- corepack prepare pnpm@10.20.0 --activate
337+ version : 11.1.0
338+ runtime : node@24
339+ install : false
340+ cache : true
341+ cache-dependency-path : " pnpm-lock.yaml"
300342
301343 - name : Install dependencies
302344 run : pnpm install --frozen-lockfile
@@ -308,3 +350,15 @@ jobs:
308350 run : pnpm async-pipeline run verify
309351 env :
310352 CI : true
353+
354+ - name : Explain async-pipeline run
355+ if : failure()
356+ run : pnpm async-pipeline explain --run latest || true
357+
358+ - name : Upload async-pipeline run evidence
359+ if : always()
360+ uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
361+ with :
362+ name : async-pipeline-${{ github.job }}-runs
363+ path : .async/runs
364+ if-no-files-found : ignore
0 commit comments