Skip to content

Commit b6560bb

Browse files
authored
fix(rsbuild): use v2 branch for modern.js
Change default branch from 'main' to 'v2' for stability.
1 parent f83d8cd commit b6560bb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/rsbuild/modernjs.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ export async function test(options: RunOptions) {
1212
await runInRepo({
1313
...options,
1414
repo: 'web-infra-dev/modern.js',
15-
branch: process.env.MODERN_REF ?? 'main',
15+
// Using `v2` (the stable version) as `main` is still under development.
16+
branch: process.env.MODERN_REF ?? 'v2',
1617
beforeInstall: async () => {
1718
if (isGitHubActions) {
1819
const modernJsDir = join(process.cwd(), 'workspace/modernjs/modern.js');

0 commit comments

Comments
 (0)