Skip to content

Commit b055cb8

Browse files
committed
Disable pnpm frozen-lockfile option
1 parent d61cd57 commit b055cb8

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.circleci/config.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ commands:
9393
if [[ ! -e node_modules/ ]]; then
9494
if [[ "<<parameters.package-manager>>" == "pnpm" ]]; then
9595
# Create a flat node_modules without symlinks. Same as the node_modules created by npm or Yarn.
96-
<<parameters.package-manager>> install --node-linker=hoisted
96+
<<parameters.package-manager>> install --no-frozen-lockfile --node-linker=hoisted
9797
else
9898
<<parameters.package-manager>> install
9999
fi
@@ -134,7 +134,7 @@ commands:
134134
if [[ "<<parameters.package-manager>>" == "pnpm" ]]; then
135135
<<parameters.package-manager>> install --no-frozen-lockfile --node-linker=hoisted
136136
else
137-
<<parameters.package-manager>> install --no-frozen-lockfile
137+
<<parameters.package-manager>> install
138138
fi
139139
- run:
140140
name: "Sanity check: all transitive dependencies successfully replaced with the tarball"
@@ -276,7 +276,7 @@ jobs:
276276
# The install command is required again here to create the correct symlinks under the hardhat-core/node_modules
277277
# In our case that is something like: solc -> ../../../node_modules/.pnpm/file+..+solc-js.tgz/node_modules/solc
278278
# See: https://pnpm.io/symlinked-node-modules-structure
279-
pnpm install
279+
pnpm install --no-frozen-lockfile
280280
# TODO: temporarily set hardhat stack traces tests to use cancun hardfork
281281
# Remove this when hardhat switch to cancun by default: https://github.com/NomicFoundation/hardhat/issues/4851
282282
sed -i 's/hardfork: "shanghai",/hardfork: "cancun",/' test/internal/hardhat-network/stack-traces/execution.ts
@@ -300,7 +300,7 @@ jobs:
300300
export HARDHAT_TESTS_SOLC_PATH HARDHAT_TESTS_SOLC_VERSION
301301
302302
cd packages/hardhat-core/
303-
pnpm install
303+
pnpm install --no-frozen-lockfile
304304
# TODO: temporarily set hardhat stack traces tests to use cancun hardfork
305305
# Remove this when hardhat switch to cancun by default: https://github.com/NomicFoundation/hardhat/issues/4851
306306
sed -i 's/hardfork: "shanghai",/hardfork: "cancun",/' test/internal/hardhat-network/stack-traces/execution.ts

0 commit comments

Comments
 (0)