Skip to content

Commit 824fa93

Browse files
chore: add PNPM catalog lockfile sanity check workaround (#6631)
Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: louis-bompart <[email protected]>
1 parent 98f2577 commit 824fa93

File tree

2 files changed

+474
-801
lines changed

2 files changed

+474
-801
lines changed

.github/actions/setup/action.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,12 @@ runs:
3838
node-version-file: '.nvmrc'
3939
registry-url: 'https://registry.npmjs.org'
4040
cache: 'pnpm'
41+
# Workaround for PNPM catalog bug: ensure lockfile is sane before installing
42+
# https://github.com/pnpm/pnpm/issues/9112
43+
# If this fails, run `pnpm dedupe` locally and commit the updated lockfile
44+
- name: Check lockfile deduplication
45+
run: pnpm dedupe --check
46+
shell: bash
4147
- run: pnpm install --frozen-lockfile --prefer-offline
4248
shell: bash
4349
#endregion

0 commit comments

Comments
 (0)