Skip to content

Commit

Permalink
chore: update the e2e tests for latest version of pnpm
Browse files Browse the repository at this point in the history
pnpm 13 changed the `pnpm pack` output to include the entire contents.
The scripts have been modified to grep out the only information we want,
the tgz file generated by the pack.
  • Loading branch information
kanej committed Nov 18, 2024
1 parent 1c491eb commit 729fbed
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion e2e/run-fixture-projects.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ echo "[e2e] Building and packing hardhat-core"
cd ../packages/hardhat-core
pnpm install
pnpm build
HARDHAT_TGZ_FILE=$(pnpm pack)
HARDHAT_TGZ_FILE=$(pnpm pack | grep "hardhat-*.*.*.tgz")
echo "[e2e] Built $HARDHAT_TGZ_FILE"
cd - >/dev/null

Expand Down
2 changes: 1 addition & 1 deletion e2e/test-project-initialization.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ echo "[e2e] Building and packing hardhat-core"
cd ../packages/hardhat-core
pnpm install
pnpm build
HARDHAT_TGZ_FILE=$(pnpm pack)
HARDHAT_TGZ_FILE=$(pnpm pack | grep "hardhat-*.*.*.tgz")
echo "[e2e] Built $HARDHAT_TGZ_FILE"
cd - >/dev/null

Expand Down

0 comments on commit 729fbed

Please sign in to comment.