Skip to content

Commit aef9c85

Browse files
Brooooooklynclaude
andcommitted
fix(ci): use npm pkg set to pin packed versions
`pnpm pkg set` is not implemented (ERR_PNPM_NOT_IMPLEMENTED); pnpm points to the npm CLI for `pkg` operations. Switch the version pin in the tgz pack steps to `npm pkg set version=0.0.0`. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
1 parent 07af786 commit aef9c85

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/e2e-test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,8 +112,8 @@ jobs:
112112
# A release commit can leave `packages/{core,cli}` at a published
113113
# version (e.g. 0.1.22), which would make `pnpm pack` emit
114114
# `*-0.1.22.tgz` instead. Pin both to 0.0.0 so the names stay stable.
115-
(cd packages/core && pnpm pkg set version=0.0.0)
116-
(cd packages/cli && pnpm pkg set version=0.0.0)
115+
(cd packages/core && npm pkg set version=0.0.0)
116+
(cd packages/cli && npm pkg set version=0.0.0)
117117
cd packages/core && pnpm pack --pack-destination ../../tmp/tgz && cd ../..
118118
cd packages/cli && pnpm pack --pack-destination ../../tmp/tgz && cd ../..
119119
# Bun is uniquely strict about peer-dep resolution:

.github/workflows/test-vp-create.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,8 +97,8 @@ jobs:
9797
# A release commit can leave `packages/{core,cli}` at a published
9898
# version (e.g. 0.1.22), which would make `pnpm pack` emit
9999
# `*-0.1.22.tgz` instead. Pin both to 0.0.0 so the names stay stable.
100-
(cd packages/core && pnpm pkg set version=0.0.0)
101-
(cd packages/cli && pnpm pkg set version=0.0.0)
100+
(cd packages/core && npm pkg set version=0.0.0)
101+
(cd packages/cli && npm pkg set version=0.0.0)
102102
cd packages/core && pnpm pack --pack-destination ../../tmp/tgz && cd ../..
103103
cd packages/cli && pnpm pack --pack-destination ../../tmp/tgz && cd ../..
104104
# Bun is uniquely strict about peer-dep resolution:

0 commit comments

Comments
 (0)