@@ -93,7 +93,7 @@ commands:
93
93
if [[ ! -e node_modules/ ]]; then
94
94
if [[ "<<parameters.package-manager>>" == "pnpm" ]]; then
95
95
# 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
97
97
else
98
98
<<parameters.package-manager>> install
99
99
fi
@@ -134,7 +134,7 @@ commands:
134
134
if [[ "<<parameters.package-manager>>" == "pnpm" ]]; then
135
135
<<parameters.package-manager>> install --no-frozen-lockfile --node-linker=hoisted
136
136
else
137
- <<parameters.package-manager>> install --no-frozen-lockfile
137
+ <<parameters.package-manager>> install
138
138
fi
139
139
- run :
140
140
name : " Sanity check: all transitive dependencies successfully replaced with the tarball"
@@ -276,7 +276,7 @@ jobs:
276
276
# The install command is required again here to create the correct symlinks under the hardhat-core/node_modules
277
277
# In our case that is something like: solc -> ../../../node_modules/.pnpm/file+..+solc-js.tgz/node_modules/solc
278
278
# See: https://pnpm.io/symlinked-node-modules-structure
279
- pnpm install
279
+ pnpm install --no-frozen-lockfile
280
280
# TODO: temporarily set hardhat stack traces tests to use cancun hardfork
281
281
# Remove this when hardhat switch to cancun by default: https://github.com/NomicFoundation/hardhat/issues/4851
282
282
sed -i 's/hardfork: "shanghai",/hardfork: "cancun",/' test/internal/hardhat-network/stack-traces/execution.ts
@@ -300,7 +300,7 @@ jobs:
300
300
export HARDHAT_TESTS_SOLC_PATH HARDHAT_TESTS_SOLC_VERSION
301
301
302
302
cd packages/hardhat-core/
303
- pnpm install
303
+ pnpm install --no-frozen-lockfile
304
304
# TODO: temporarily set hardhat stack traces tests to use cancun hardfork
305
305
# Remove this when hardhat switch to cancun by default: https://github.com/NomicFoundation/hardhat/issues/4851
306
306
sed -i 's/hardfork: "shanghai",/hardfork: "cancun",/' test/internal/hardhat-network/stack-traces/execution.ts
0 commit comments