From 78dcd94bb96ac4a3b454d9d2e0ff9af2489ac4df Mon Sep 17 00:00:00 2001 From: Calvin Koepke Date: Tue, 13 Feb 2024 13:55:59 -0700 Subject: [PATCH] fix: ci tests --- .github/workflows/ci.yml | 2 +- package.json | 1 + tsconfig.json | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b3a08695..710b6846 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -38,7 +38,7 @@ jobs: # Run Tests - name: Run Tests - run: yarn test + run: yarn test:ci # Prebuild to check - name: Run Prebuild diff --git a/package.json b/package.json index 35545a83..bc378477 100644 --- a/package.json +++ b/package.json @@ -9,6 +9,7 @@ "scripts": { "postinstall": "lerna bootstrap", "test": "yarn node --no-warnings --experimental-vm-modules $(yarn bin jest)", + "test:ci": "yarn node --max-old-space-size=4096 --no-warnings --experimental-vm-modules $(yarn bin jest) --maxWorkers=1", "lint": "eslint ./packages --ext js,jsx,ts,tsx", "lint:fix": "yarn lint --fix", "prepare": "husky install", diff --git a/tsconfig.json b/tsconfig.json index 9cafbd80..a918c205 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -22,5 +22,5 @@ "declarationMap": false, "noEmitOnError": true, }, - "exclude": ["node_modules", "temporary_modules", "tools/*.ts", "dist"], + "exclude": ["node_modules", "temporary_modules", "tools/*.ts", "dist", "docs"], }