1
0
Fork 0
mirror of synced 2024-09-29 16:51:33 +13:00

Making sure worker runs through ts-node in cypress, locally, then built in CI.

This commit is contained in:
mike12345567 2022-02-01 16:02:44 +00:00
parent e642268364
commit b847b578c7
2 changed files with 2 additions and 2 deletions

View file

@ -28,7 +28,7 @@ process.env.LOG_LEVEL = "error"
exports.run = ( exports.run = (
serverLoc = "../../server/dist", serverLoc = "../../server/dist",
workerLoc = "../../worker/src/index" workerLoc = "../../worker/dist"
) => { ) => {
// require("dotenv").config({ path: resolve(dir, ".env") }) // require("dotenv").config({ path: resolve(dir, ".env") })
// don't make this a variable or top level require // don't make this a variable or top level require

View file

@ -1,4 +1,4 @@
// @ts-ignore // @ts-ignore
import { run } from "../setup" import { run } from "../setup"
run("../../server/src/index") run("../../server/src/index", "../../worker/src/index")