From 3ffd69b504a68b3fa514d1284833280d0e8c40f2 Mon Sep 17 00:00:00 2001 From: yonada Date: Tue, 30 Apr 2024 09:17:02 +0100 Subject: [PATCH 1/2] fix(cli): postDeploy uses correct kms flag (#2769) --- packages/cli/src/runDeploy.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/cli/src/runDeploy.ts b/packages/cli/src/runDeploy.ts index 0f049b9f63..e0920733f3 100644 --- a/packages/cli/src/runDeploy.ts +++ b/packages/cli/src/runDeploy.ts @@ -140,7 +140,7 @@ export async function runDeploy(opts: DeployOptions): Promise { rpc, profile, opts.forgeScriptOptions, - opts.awsKmsKeyId !== undefined, + opts.kms ? true : false, ); } console.log(chalk.green("Deployment completed in", (Date.now() - startTime) / 1000, "seconds")); From 14cb092a09f4b0d4624111fd3b22a9ab4ce36df6 Mon Sep 17 00:00:00 2001 From: Kevin Ingersoll Date: Tue, 30 Apr 2024 15:43:32 +0100 Subject: [PATCH 2/2] build: bump node mem limit on CI (#2772) --- .github/workflows/build.yml | 3 +++ .github/workflows/prerelease.yml | 3 +++ .github/workflows/release.yml | 3 +++ .github/workflows/snapshot.yml | 3 +++ 4 files changed, 12 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0abc8c2cc4..1e24b8ae7f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -6,6 +6,9 @@ name: Build on: pull_request: +env: + NODE_OPTIONS: "--max-old-space-size=4096" + jobs: build: name: Build and validate artifacts diff --git a/.github/workflows/prerelease.yml b/.github/workflows/prerelease.yml index 6534dd1a49..ed8d21c625 100644 --- a/.github/workflows/prerelease.yml +++ b/.github/workflows/prerelease.yml @@ -6,6 +6,9 @@ on: # Ensure only one workflow/job is publishing to npm at a time concurrency: publish-to-npm +env: + NODE_OPTIONS: "--max-old-space-size=4096" + jobs: prerelease: name: Changesets Prerelease diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4122bd009f..0ba64aede6 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -10,6 +10,9 @@ on: # Ensure only one workflow/job is publishing to npm at a time concurrency: publish-to-npm +env: + NODE_OPTIONS: "--max-old-space-size=4096" + jobs: release: name: Release diff --git a/.github/workflows/snapshot.yml b/.github/workflows/snapshot.yml index c53ae65654..a1bbc284d7 100644 --- a/.github/workflows/snapshot.yml +++ b/.github/workflows/snapshot.yml @@ -13,6 +13,9 @@ on: # Ensure only one workflow/job is publishing to npm at a time concurrency: publish-to-npm +env: + NODE_OPTIONS: "--max-old-space-size=4096" + jobs: release-snapshot: name: Publish snapshot release to npm