chore: setup PR-driven release pipeline#10550
Merged
sheremet-va merged 55 commits intoJun 12, 2026
Merged
Conversation
Co-authored-by: Codex <[email protected]>
✅ Deploy Preview for vitest-dev ready!Built without sensitive environment variables
To edit notification comments on pull requests, go to your Netlify project configuration. |
Co-authored-by: Codex <[email protected]>
Co-authored-by: Codex <[email protected]>
Co-authored-by: Codex <[email protected]>
Co-authored-by: Codex <[email protected]>
Co-authored-by: Codex <[email protected]>
Co-authored-by: Codex <[email protected]>
Co-authored-by: Codex <[email protected]>
Co-authored-by: Codex <[email protected]>
sheremet-va
reviewed
Jun 9, 2026
Co-authored-by: Codex <[email protected]>
Co-authored-by: Codex <[email protected]>
sheremet-va
reviewed
Jun 9, 2026
Co-authored-by: Codex <[email protected]>
Co-authored-by: Codex <[email protected]>
Co-authored-by: Codex <[email protected]>
Co-authored-by: Codex <[email protected]>
Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
sheremet-va
reviewed
Jun 11, 2026
sheremet-va
reviewed
Jun 11, 2026
Co-authored-by: Codex <[email protected]>
Co-authored-by: Copilot Autofix powered by AI <[email protected]>
sheremet-va
reviewed
Jun 12, 2026
sheremet-va
reviewed
Jun 12, 2026
sheremet-va
reviewed
Jun 12, 2026
hi-ogawa
commented
Jun 12, 2026
hi-ogawa
commented
Jun 12, 2026
Co-authored-by: Codex <[email protected]>
…into poc/pr-driven-release-pipeline
Member
|
We would also need to backport this to v4 and v3, right? Because the release workflow needs to be identical |
Collaborator
Author
|
Did local dry run. So many warnings but looks good: $ RELEASE_VERSION=5.0.0-beta.5 pnpm release
[WARN] The "$" version reference syntax in overrides is deprecated (used by: @types/node, rollup, vite). Define the version in a catalog and reference it with the "catalog:" protocol instead. See https://pnpm.io/catalogs
[WARN] The "$" version reference syntax in overrides is deprecated (used by: @types/node, rollup, vite). Define the version in a catalog and reference it with the "catalog:" protocol instead. See https://pnpm.io/catalogs
Scope: all 42 workspace projects
[WARN] There are cyclic workspace dependencies: /home/hiroshi/code/others/vitest-release-pipeline-poc/packages/browser, /home/hiroshi/code/others/vitest-release-pipeline-poc/packages/vitest, /home/hiroshi/code/others/vitest-release-pipeline-poc/packages/browser-playwright
✓ Lockfile passes supply-chain policies (verified 7m ago)
Lockfile is up to date, resolution step is skipped
Packages: +20
++++++++++++++++++++
Progress: resolved 20, reused 20, downloaded 0, added 20, done
Done in 1.3s using pnpm v11.6.0
$ tsx scripts/release.ts
Bumping versions in packages: package.json, packages/browser/package.json, packages/browser-playwright/package.json, packages/browser-webdriverio/package.json, packages/coverage-istanbul/package.json, packages/coverage-v8/package.json, packages/expect/package.json, packages/pretty-format/package.json, packages/snapshot/package.json, packages/browser-preview/package.json, packages/spy/package.json, packages/ui/package.json, packages/mocker/package.json, packages/utils/package.json, packages/web-worker/package.json, packages/vitest/package.json $ VITE_TEST_WATCHER_DEBUG=false PUBLISH_DRY_RUN=true PUBLISH_BRANCH=main pnpm publish-ci 5.0.0-beta.5
[WARN] The "$" version reference syntax in overrides is deprecated (used by: @types/node, rollup, vite). Define the version in a catalog and reference it with the "catalog:" protocol instead. See https://pnpm.io/catalogs
[WARN] The "$" version reference syntax in overrides is deprecated (used by: @types/node, rollup, vite). Define the version in a catalog and reference it with the "catalog:" protocol instead. See https://pnpm.io/catalogs
Scope: all 42 workspace projects
[WARN] There are cyclic workspace dependencies: /home/hiroshi/code/others/vitest-release-pipeline-poc/packages/browser, /home/hiroshi/code/others/vitest-release-pipeline-poc/packages/vitest, /home/hiroshi/code/others/vitest-release-pipeline-poc/packages/browser-playwright
✓ Lockfile passes supply-chain policies (verified 7m ago)
Lockfile is up to date, resolution step is skipped
Packages: +20
++++++++++++++++++++
Progress: resolved 20, reused 20, downloaded 0, added 20, done
Done in 1.2s using pnpm v11.6.0
$ tsx scripts/publish-ci.ts 5.0.0-beta.5
== DRY RUN ==
Staging version '5.0.0-beta.5' with tag 'beta'
[WARN] The "$" version reference syntax in overrides is deprecated (used by: @types/node, rollup, vite). Define the version in a catalog and reference it with the "catalog:" protocol instead. See https://pnpm.io/catalogs
📦 @vitest/[email protected] → https://registry.npmjs.org/
[WARN] Skip staging @vitest/[email protected] (dry run)
📦 @vitest/[email protected] → https://registry.npmjs.org/
[WARN] Skip staging @vitest/[email protected] (dry run)
📦 @vitest/[email protected] → https://registry.npmjs.org/
[WARN] Skip staging @vitest/[email protected] (dry run)
📦 @vitest/[email protected] → https://registry.npmjs.org/
[WARN] Skip staging @vitest/[email protected] (dry run)
📦 @vitest/[email protected] → https://registry.npmjs.org/
[WARN] 10 other warnings
📦 @vitest/[email protected] → https://registry.npmjs.org/
📦 @vitest/[email protected] → https://registry.npmjs.org/
📦 [email protected] → https://registry.npmjs.org/
📦 @vitest/[email protected] → https://registry.npmjs.org/
📦 @vitest/[email protected] → https://registry.npmjs.org/
📦 @vitest/[email protected] → https://registry.npmjs.org/
📦 @vitest/[email protected] → https://registry.npmjs.org/
📦 @vitest/[email protected] → https://registry.npmjs.org/
📦 @vitest/[email protected] → https://registry.npmjs.org/
📦 @vitest/[email protected] → https://registry.npmjs.org/
+ @vitest/[email protected] (would stage)
+ @vitest/[email protected] (would stage)
+ @vitest/[email protected] (would stage)
+ @vitest/[email protected] (would stage)
[WARN] 11 other warningseta.5 (would stage)
+ @vitest/[email protected] (would stage)
+ @vitest/[email protected] (would stage)
+ [email protected] (would stage)
+ @vitest/[email protected] (would stage)
+ @vitest/[email protected] (would stage)
+ @vitest/[email protected] (would stage)
+ @vitest/[email protected] (would stage)
+ @vitest/[email protected] (would stage)
+ @vitest/[email protected] (would stage)
+ @vitest/[email protected] (would stage) |
Collaborator
Author
Yes, I'll backport it. Slightly scary updating pnpm there but we'll see. |
sheremet-va
approved these changes
Jun 12, 2026
7 tasks
This was referenced Jun 15, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This PR implements the basic idea of #10551. The maintainer guide of the release process is added to
CONTRIBUTING.md.The test flight is done in my fork repo. See
There are some aspects that could be improved later but not included here:
GITHUB_TOKENwon't trigger the actions on the created PR due to Github's chaining action prevention.publish-ci.tsscript.publish-ci.tscurrently publishes backport release of npm package asreleasedist tags. To prevent this, we would need manual fix up for each backport branch like v3 or we should implement automatic way to derive dist-tags.They are put into follow up issue #10560
Please don't delete this checklist! Before submitting the PR, please make sure you do the following:
pnpm-lock.yamlunless you introduce a new test example.Tests
pnpm test:ci.Documentation
pnpm run docscommand.Changesets
feat:,fix:,perf:,docs:, orchore:.