diff --git a/.github/workflows/ecosystem-ci-from-pr.yml b/.github/workflows/ecosystem-ci-from-pr.yml index 63f27456..92dc7403 100644 --- a/.github/workflows/ecosystem-ci-from-pr.yml +++ b/.github/workflows/ecosystem-ci-from-pr.yml @@ -17,7 +17,7 @@ on: description: "svelte branch to use" required: true type: string - default: "svelte-4" + default: "main" repo: description: "svelte repository to use" required: true diff --git a/.github/workflows/ecosystem-ci-selected.yml b/.github/workflows/ecosystem-ci-selected.yml index f558ccc6..ff4faa68 100644 --- a/.github/workflows/ecosystem-ci-selected.yml +++ b/.github/workflows/ecosystem-ci-selected.yml @@ -23,7 +23,7 @@ on: description: "svelte ref to use" required: true type: string - default: "svelte-4" + default: "main" repo: description: "svelte repository to use" required: true diff --git a/.github/workflows/ecosystem-ci.yml b/.github/workflows/ecosystem-ci.yml index 8305a91e..1c4a71a2 100644 --- a/.github/workflows/ecosystem-ci.yml +++ b/.github/workflows/ecosystem-ci.yml @@ -25,7 +25,7 @@ on: description: "svelte ref to use" required: true type: string - default: "svelte-4" + default: "main" repo: description: "svelte repository to use" required: true @@ -70,7 +70,7 @@ jobs: - run: pnpm i --frozen-lockfile - run: >- pnpm tsx ecosystem-ci.ts - --${{ inputs.refType || github.event.client_payload.refType || 'branch' }} ${{ inputs.ref || github.event.client_payload.ref || 'svelte-4' }} + --${{ inputs.refType || github.event.client_payload.refType || 'branch' }} ${{ inputs.ref || github.event.client_payload.ref || 'main' }} --repo ${{ inputs.repo || github.event.client_payload.repo || 'sveltejs/svelte' }} ${{ matrix.suite }} id: ecosystem-ci-run @@ -79,7 +79,7 @@ jobs: env: WORKFLOW_NAME: ci REF_TYPE: ${{ inputs.refType || github.event.client_payload.refType || 'branch' }} - REF: ${{ inputs.ref || github.event.client_payload.ref || 'svelte-4' }} + REF: ${{ inputs.ref || github.event.client_payload.ref || 'main' }} REPO: ${{ inputs.repo || github.event.client_payload.repo || 'sveltejs/svelte' }} SUITE: ${{ matrix.suite }} STATUS: ${{ job.status }} diff --git a/ecosystem-ci.ts b/ecosystem-ci.ts index 12ff679a..a4ccb55b 100644 --- a/ecosystem-ci.ts +++ b/ecosystem-ci.ts @@ -20,7 +20,7 @@ cli .option('--repo ', 'svelte repository to use', { default: 'sveltejs/svelte', }) - .option('--branch ', 'svelte branch to use', { default: 'svelte-4' }) + .option('--branch ', 'svelte branch to use', { default: 'main' }) .option('--tag ', 'svelte tag to use') .option('--commit ', 'svelte commit sha to use') .option('--release ', 'svelte release to use from npm registry') diff --git a/utils.ts b/utils.ts index 74e7503f..23a562ac 100644 --- a/utils.ts +++ b/utils.ts @@ -291,7 +291,7 @@ export async function setupSvelteRepo(options: Partial) { await setupRepo({ repo, dir: sveltePath, - branch: 'svelte-4', + branch: 'main', shallow: true, ...options, })