Making sure worker runs through ts-node in cypress, locally, then built in CI.
This commit is contained in:
parent
53aabb4d05
commit
b3b982fa8f
|
@ -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
|
||||||
|
|
|
@ -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")
|
||||||
|
|
Loading…
Reference in New Issue