Skip to content

Consistently use Corepack's packageManager to bootstrap PNPM#4481

Merged
sschuberth merged 4 commits intoeclipse-apoapsis:mainfrom
doubleopen-project:pnpm-latest
Feb 11, 2026
Merged

Consistently use Corepack's packageManager to bootstrap PNPM#4481
sschuberth merged 4 commits intoeclipse-apoapsis:mainfrom
doubleopen-project:pnpm-latest

Conversation

@sschuberth
Copy link
Contributor

@sschuberth sschuberth commented Feb 11, 2026

Please have a look at the individual commit messages for the details.

@sschuberth

This comment was marked as resolved.

ENV PNPM_HOME="/pnpm"
ENV PATH="$PNPM_HOME:$PATH"
RUN corepack enable && corepack prepare pnpm@9.15.4 --activate
RUN corepack enable && corepack prepare pnpm@latest --activate

This comment was marked as outdated.

@sschuberth sschuberth force-pushed the pnpm-latest branch 3 times, most recently from 6cbd94b to 26a3244 Compare February 11, 2026 16:56
Note that version ranges or "latest" syntax is not supported for
Corepack's `packageManager` field.

Signed-off-by: Sebastian Schuberth <sebastian@doubleopen.org>
…field

Signed-off-by: Sebastian Schuberth <sebastian@doubleopen.org>
This requires to remove the explicit `cache: pnpm` as caching is now
determined automatically via the `packageManager` field, also see [1].

Note that the `setup-node` action itself cannot enable Corepack yet [2].

[1]: actions/setup-node#686
[2]: actions/setup-node#531

Signed-off-by: Sebastian Schuberth <sebastian@doubleopen.org>
Signed-off-by: Sebastian Schuberth <sebastian@doubleopen.org>
@sschuberth sschuberth changed the title deps(docker): Always use latest PNPM Consistently use Corepack's packageManager to bootstrap PNPM Feb 11, 2026
@sschuberth sschuberth added this pull request to the merge queue Feb 11, 2026
Merged via the queue into eclipse-apoapsis:main with commit 45f484f Feb 11, 2026
34 checks passed
@sschuberth sschuberth deleted the pnpm-latest branch February 11, 2026 18:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants