Skip to content

Commit a9aabb1

Browse files
committed
chore(pipeline): update to 0.9.1
1 parent b87bce8 commit a9aabb1

5 files changed

Lines changed: 112 additions & 109 deletions

File tree

.async-pipeline/tasks.lock.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,5 +195,5 @@
195195
}
196196
],
197197
"hash": "sha256:cdbb88193b59f17feb85681f38201d0f3d91e647ea8e49de9fbe3c0e74ff58fa",
198-
"generatedAt": "2026-06-18T04:29:56.184Z"
198+
"generatedAt": "2026-06-18T10:35:13.304Z"
199199
}

.github/async-pipeline.lock.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{
2-
"version": 11,
2+
"version": 12,
33
"generator": "@async/pipeline",
44
"config": "pipeline.ts",
55
"workflow": ".github/workflows/async-pipeline.yml",
6-
"hash": "sha256:e95c89eb62da0f98d0d073bc12023133a82ac4192a82cbadcd95c0cfb4f8c8f1",
7-
"generatedAt": "2026-06-18T04:29:56.182Z",
6+
"hash": "sha256:311aa49c5178f55febf9a6a6db1268b24648b792097729bd99111e9b3f1b0184",
7+
"generatedAt": "2026-06-18T10:35:13.302Z",
88
"triggers": {
99
"pull_request": {
1010
"types": [

.github/workflows/async-pipeline.yml

Lines changed: 102 additions & 99 deletions
Original file line numberDiff line numberDiff line change
@@ -63,26 +63,27 @@ jobs:
6363
- name: Install dependencies
6464
run: pnpm install --frozen-lockfile
6565

66-
- name: Check generated workflow
67-
run: pnpm async-pipeline github check
68-
69-
- name: Run pipeline job
70-
run: pnpm async-pipeline run main-snapshot
66+
- name: Run pipeline task pack
67+
uses: async/actions/run@v0
68+
with:
69+
command: "pnpm async-pipeline github check && pnpm async-pipeline run-task pack"
70+
check-generated: false
71+
artifact-name: async-pipeline-${{ github.job }}-pack-runs
7172
env:
7273
CI: true
7374
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
7475

75-
- name: Explain async-pipeline run
76-
if: failure()
77-
run: pnpm async-pipeline explain --run latest || true
78-
79-
- name: Upload async-pipeline run evidence
80-
if: always()
81-
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
76+
- name: Publish main package preview
77+
uses: async/actions/preview@v0
8278
with:
83-
name: async-pipeline-${{ github.job }}-runs
84-
path: .async/runs
85-
if-no-files-found: ignore
79+
package-path: "packages/web"
80+
target-registry: "https://npm.pkg.github.com"
81+
mode: main
82+
comment: false
83+
token-env-name: "GITHUB_TOKEN"
84+
env:
85+
CI: true
86+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
8687

8788
release-doctor:
8889
name: release-doctor
@@ -118,27 +119,17 @@ jobs:
118119
- name: Install dependencies
119120
run: pnpm install --frozen-lockfile
120121

121-
- name: Check generated workflow
122-
run: pnpm async-pipeline github check
123-
124-
- name: Run pipeline job
125-
run: pnpm async-pipeline run release-doctor
122+
- name: Run release doctor
123+
uses: async/actions/publish@v0
124+
with:
125+
package-path: "packages/web"
126+
mode: doctor
127+
registry: "https://registry.npmjs.org"
128+
dist-tag: "latest"
126129
env:
127130
CI: true
128131
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
129132

130-
- name: Explain async-pipeline run
131-
if: failure()
132-
run: pnpm async-pipeline explain --run latest || true
133-
134-
- name: Upload async-pipeline run evidence
135-
if: always()
136-
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
137-
with:
138-
name: async-pipeline-${{ github.job }}-runs
139-
path: .async/runs
140-
if-no-files-found: ignore
141-
142133
stable-release:
143134
name: stable-release
144135
if: (github.event_name == 'workflow_dispatch' && github.event.inputs.job == 'stable-release') || (github.event_name == 'release')
@@ -178,27 +169,65 @@ jobs:
178169
- name: Install dependencies
179170
run: pnpm install --frozen-lockfile
180171

181-
- name: Check generated workflow
182-
run: pnpm async-pipeline github check
172+
- name: Run pipeline task pack
173+
uses: async/actions/run@v0
174+
with:
175+
command: "pnpm async-pipeline github check && pnpm async-pipeline run-task pack"
176+
check-generated: false
177+
artifact-name: async-pipeline-${{ github.job }}-pack-runs
178+
env:
179+
CI: true
180+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
181+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
183182

184-
- name: Run pipeline job
185-
run: pnpm async-pipeline run stable-release
183+
- name: Create or update GitHub Release
184+
uses: async/actions/publish@v0
185+
with:
186+
package-path: "packages/web"
187+
mode: github-release
188+
registry: "https://registry.npmjs.org"
189+
dist-tag: "latest"
186190
env:
187191
CI: true
188192
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
189193
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
190194

191-
- name: Explain async-pipeline run
192-
if: failure()
193-
run: pnpm async-pipeline explain --run latest || true
195+
- name: Publish GitHub Packages mirror
196+
uses: async/actions/publish@v0
197+
with:
198+
package-path: "packages/web"
199+
mode: github-packages
200+
registry: "https://npm.pkg.github.com"
201+
dist-tag: "latest"
202+
env:
203+
CI: true
204+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
205+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
194206

195-
- name: Upload async-pipeline run evidence
196-
if: always()
197-
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
207+
- name: Publish npm package
208+
uses: async/actions/publish@v0
198209
with:
199-
name: async-pipeline-${{ github.job }}-runs
200-
path: .async/runs
201-
if-no-files-found: ignore
210+
package-path: "packages/web"
211+
mode: npm
212+
registry: "https://registry.npmjs.org"
213+
dist-tag: "latest"
214+
provenance: true
215+
env:
216+
CI: true
217+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
218+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
219+
220+
- name: Run release doctor
221+
uses: async/actions/publish@v0
222+
with:
223+
package-path: "packages/web"
224+
mode: doctor
225+
registry: "https://registry.npmjs.org"
226+
dist-tag: "latest"
227+
env:
228+
CI: true
229+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
230+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
202231

203232
verify:
204233
name: verify
@@ -231,26 +260,15 @@ jobs:
231260
- name: Install dependencies
232261
run: pnpm install --frozen-lockfile
233262

234-
- name: Check generated workflow
235-
run: pnpm async-pipeline github check
236-
237263
- name: Run pipeline job
238-
run: pnpm async-pipeline run verify
264+
uses: async/actions/run@v0
265+
with:
266+
command: "pnpm async-pipeline github check && pnpm async-pipeline run verify"
267+
check-generated: false
268+
artifact-name: async-pipeline-${{ github.job }}-runs
239269
env:
240270
CI: true
241271

242-
- name: Explain async-pipeline run
243-
if: failure()
244-
run: pnpm async-pipeline explain --run latest || true
245-
246-
- name: Upload async-pipeline run evidence
247-
if: always()
248-
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
249-
with:
250-
name: async-pipeline-${{ github.job }}-runs
251-
path: .async/runs
252-
if-no-files-found: ignore
253-
254272
pages:
255273
name: pages
256274
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')
@@ -282,34 +300,21 @@ jobs:
282300
- name: Install dependencies
283301
run: pnpm install --frozen-lockfile
284302

285-
- name: Check generated workflow
286-
run: pnpm async-pipeline github check
287-
288303
- name: Run Pages target
289-
run: pnpm async-pipeline run-task docs.site
304+
uses: async/actions/run@v0
305+
with:
306+
command: "pnpm async-pipeline github check && pnpm async-pipeline run-task docs.site"
307+
check-generated: false
308+
artifact-name: async-pipeline-${{ github.job }}-runs
290309
env:
291310
CI: true
292311

293-
- name: Configure Pages
294-
uses: actions/configure-pages@983d7736d9b0ae728b81ab479565c72886d7745b # v5
295-
296312
- name: Upload Pages artifact
297-
uses: actions/upload-pages-artifact@7b1f4a764d45c48632c6b24a0339c27f5614fb0b # v4
313+
uses: async/actions/pages@v0
298314
with:
315+
mode: static
299316
path: ".async/pages"
300317

301-
- name: Explain async-pipeline run
302-
if: failure()
303-
run: pnpm async-pipeline explain --run latest || true
304-
305-
- name: Upload async-pipeline run evidence
306-
if: always()
307-
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
308-
with:
309-
name: async-pipeline-${{ github.job }}-runs
310-
path: .async/runs
311-
if-no-files-found: ignore
312-
313318
pages-deploy:
314319
name: pages-deploy
315320
needs: "pages"
@@ -324,7 +329,10 @@ jobs:
324329
steps:
325330
- name: Deploy to GitHub Pages
326331
id: deployment
327-
uses: actions/deploy-pages@d6db90164ac5ed86f2b6aed7e0febac5b3c0c03e # v4
332+
uses: async/actions/pages@v0
333+
with:
334+
upload: false
335+
deploy: true
328336

329337
package-preview:
330338
name: package-preview
@@ -364,28 +372,23 @@ jobs:
364372
- name: Install dependencies
365373
run: pnpm install --frozen-lockfile
366374

367-
- name: Check generated workflow
368-
run: pnpm async-pipeline github check
369-
370375
- name: Run package preview target
371-
run: pnpm async-pipeline run-task pack
376+
uses: async/actions/run@v0
377+
with:
378+
command: "pnpm async-pipeline github check && pnpm async-pipeline run-task pack"
379+
check-generated: false
380+
artifact-name: async-pipeline-${{ github.job }}-runs
372381
env:
373382
CI: true
374383

375384
- name: Publish package preview
376-
run: pnpm async-pipeline publish github pr --package packages/web --registry https://npm.pkg.github.com
385+
uses: async/actions/preview@v0
386+
with:
387+
package-path: "packages/web"
388+
target-registry: "https://npm.pkg.github.com"
389+
mode: pr
390+
comment: true
391+
token-env-name: "GITHUB_TOKEN"
377392
env:
378393
CI: true
379394
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
380-
381-
- name: Explain async-pipeline run
382-
if: failure()
383-
run: pnpm async-pipeline explain --run latest || true
384-
385-
- name: Upload async-pipeline run evidence
386-
if: always()
387-
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
388-
with:
389-
name: async-pipeline-${{ github.job }}-runs
390-
path: .async/runs
391-
if-no-files-found: ignore

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,6 @@
4040
},
4141
"devDependencies": {
4242
"@async/api-contract": "0.1.0",
43-
"@async/pipeline": "0.8.9"
43+
"@async/pipeline": "0.9.1"
4444
}
4545
}

pnpm-lock.yaml

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)