Skip to content

Commit b2fb96e

Browse files
committed
Update hardhat docker images
1 parent 72d67e2 commit b2fb96e

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

.circleci/config.yml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,12 @@ commands:
3939
yarn --version
4040
pnpm version || >&2 echo "pnpm not installed"
4141
42+
install-pnpm:
43+
steps:
44+
- run:
45+
name: Install pnpm
46+
command: sudo npm install -g pnpm
47+
4248
update-npm:
4349
steps:
4450
- run:
@@ -255,9 +261,12 @@ jobs:
255261
hardhat-core-default-solc:
256262
# Runs out of memory on 'medium'.
257263
resource_class: medium+
264+
environment:
265+
NODE_OPTIONS: "--max-old-space-size=4096"
258266
docker:
259-
- image: cimg/node:current
267+
- image: cimg/rust:1.74.0-node
260268
steps:
269+
- install-pnpm
261270
- show-npm-version
262271
- attach_workspace:
263272
at: workspace
@@ -285,8 +294,9 @@ jobs:
285294
286295
hardhat-core-latest-solc:
287296
docker:
288-
- image: cimg/node:current
297+
- image: cimg/rust:1.74.0-node
289298
steps:
299+
- install-pnpm
290300
- show-npm-version
291301
- attach_workspace:
292302
at: workspace

0 commit comments

Comments
 (0)