Skip to content

Upgrade pnpm to v11#2019

Merged
axelboc merged 1 commit into
mainfrom
up-pnpm
Jun 1, 2026
Merged

Upgrade pnpm to v11#2019
axelboc merged 1 commit into
mainfrom
up-pnpm

Conversation

@axelboc

@axelboc axelboc commented Jun 1, 2026

Copy link
Copy Markdown
Contributor


- name: Install dependencies ⚙️
run: pnpm install
run: pnpm ci

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This cleans node_modules (noop) and runs pnpm install --frozen-lockfile (which was already the case with pnpm install when CI=true is detected). So no actual change but just stricter.

Comment thread pnpm-workspace.yaml
resolvePeersFromWorkspaceRoot: false

# Fail install if any dependency has unapproved build scripts
strictDepBuilds: true

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Now the default

Comment thread pnpm-workspace.yaml
savePrefix: ''

# Only install packages that are at least 2 days old
minimumReleaseAge: 2880

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Now it defaults to 1 day, which seems good enough for us. We pin packages and manually check release notes when upgrading.

Comment thread pnpm-workspace.yaml
- '@esrf/eslint-config'

# Run install automatically if anything is out of date before running a script
verifyDepsBeforeRun: 'install'

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Now the default

Comment thread package.json
"cypress-wait-for-stable-dom": "0.1.0",
"eslint": "9.39.2",
"playwright": "1.59.1",
"playwright": "1.60.0",

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Playwright browser installation was stuck in CI — see microsoft/playwright#40998

@axelboc axelboc merged commit 25bf7fa into main Jun 1, 2026
13 checks passed
@axelboc axelboc deleted the up-pnpm branch June 1, 2026 11:12
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.

1 participant