Skip to content

Commit ac2cd17

Browse files
committed
ci(e2e): disable pnpm minimumReleaseAge for migrate step
E2E intentionally installs just-published toolchain packages (e.g. @oxlint/migrate during vp migrate). Set pnpm_config_minimum_release_age=0 so a same-day publish does not fail with ERR_PNPM_NO_MATURE_MATCHING_VERSION (seen on the dify migrate).
1 parent d250225 commit ac2cd17

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/e2e-test.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -435,6 +435,12 @@ jobs:
435435
436436
- name: Migrate in ${{ matrix.project.name }}
437437
working-directory: ${{ runner.temp }}/vite-plus-ecosystem-ci/${{ matrix.project.name }}${{ matrix.project.directory && format('/{0}', matrix.project.directory) || '' }}
438+
# E2E intentionally installs just-published toolchain packages (e.g.
439+
# @oxlint/migrate during `vp migrate`). Disable pnpm's minimumReleaseAge
440+
# gate so a same-day publish does not fail with
441+
# ERR_PNPM_NO_MATURE_MATCHING_VERSION.
442+
env:
443+
pnpm_config_minimum_release_age: '0'
438444
shell: bash
439445
run: |
440446
node $GITHUB_WORKSPACE/ecosystem-ci/patch-project.ts ${{ matrix.project.name }}

0 commit comments

Comments
 (0)