From ff34671b47f4bc14f340b08912aa837a8e7f9df4 Mon Sep 17 00:00:00 2001 From: Scott Motte Date: Thu, 3 Aug 2023 13:46:09 -0700 Subject: [PATCH] Move to the workflow --- .github/workflows/workflow.yml | 1 + package.json | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index c4657fd..465718d 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -37,6 +37,7 @@ jobs: cache: 'npm' - run: npm i -g npm - run: node -v + - run: export NODE_OPTIONS="--max-old-space-size=8192" - run: npm -v - run: npm ci - run: npm test diff --git a/package.json b/package.json index daa1c43..0aca6e5 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,7 @@ "scripts": { "lint": "standard && standard bin/node-lambda", "test": "npm run lint && npm run unit", - "unit": "NODE_OPTIONS=--max-old-space-size=8192 mocha" + "unit": "mocha" }, "bin": { "node-lambda": "./bin/node-lambda"