diff --git a/.github/workflows/build-test.yml b/.github/workflows/build-test.yml index 3bc2d7b0..c999fccd 100644 --- a/.github/workflows/build-test.yml +++ b/.github/workflows/build-test.yml @@ -28,7 +28,7 @@ jobs: # Makes sure the code is formatted correctly - run: npm run pretty # Runs tests - - run: npm run test + - run: npm run test:cli # Runs eslint - run: npm run lint # Builds the project diff --git a/package.json b/package.json index b834f7c1..6224cdbb 100644 --- a/package.json +++ b/package.json @@ -8,6 +8,7 @@ "build": "export NODE_ENV=production APP_ENV=production && npm ci && npm run start2:part1 && next build", "start": "export NODE_ENV=production APP_ENV=production && npm run start2", "test": "export NODE_ENV=test APP_ENV=test && ts-node --project=tsconfig2.json scripts/jestSetup.ts && jest --watch", + "test:cli": "export NODE_ENV=test APP_ENV=test && ts-node --project=tsconfig2.json scripts/jestSetup.ts && jest", "start:test": "export NODE_ENV=test APP_ENV=test && npm run clean && npm run start2", "start2": "npm run start2:part1 && npm run start2:part2", "start2:part1": "ts-node --project=tsconfig2.json scripts/startup.ts",