Skip to content

chore: upgrade pnpm to latest-11 in CI workflows#282

Open
panish16 wants to merge 6 commits into
bcgov:mainfrom
panish16:feat/upgrade-pnpm-v11
Open

chore: upgrade pnpm to latest-11 in CI workflows#282
panish16 wants to merge 6 commits into
bcgov:mainfrom
panish16:feat/upgrade-pnpm-v11

Conversation

@panish16

Copy link
Copy Markdown
Contributor

Updates pnpm version references in GitHub Actions workflows from v10 to latest-11. Part of pnpm v11 upgrade (ticket #33875).

package.json packageManager field was updated in a separate PR.

panish16 and others added 6 commits June 25, 2026 11:06
…by pnpm v11

pnpm v11 stopped reading package.json's "pnpm" key in
document-service/documents-ui, silently dropping 8 dependency
overrides and causing a lockfile mismatch. Move both overrides and
build-script approvals to pnpm-workspace.yaml, with an explicit empty
packages list since the production lint job's older pnpm still
requires that field to be present.
The extended business-dashboard-ui layer's install: true option caused
an infinite install/nuxt-prepare loop once a pnpm-workspace.yaml was
present (same class of issue as unjs/c12#128), hanging until CI's
timeout killed the job. Disable it; the layer's own runtime deps are
already satisfied via this app's existing dependencies.
The shared bcregistry-sre/frontend-ci.yaml workflow defaults
pnpm_version to "9" when unset, and pnpm/action-setup doesn't defer to
packageManager for that bare default. Pin pnpm_version to 11.9.0
explicitly, matching packageManager, as a stopgap until
bcgov/bcregistry-sre#369 lands.
Now that documents-ui-ci actually runs pnpm 11 (previous commit),
verify-build and unit-testing-pnpm surface missing modules used by the
extended business-dashboard-ui layer (moment, @bcrs-shared-components/
enums+interfaces, @vuepic/vue-datepicker, @vueuse/core, country-list,
lodash.isdate/isequal/omit, uuid) that were previously satisfied only
via c12's now-disabled install:true auto-install. Declare them
directly, matching the layer's own pinned versions (tag v0.0.1).

Verified locally: clean install, full build, and all 19 unit tests pass.
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