1
0
Fork 0
mirror of synced 2024-06-02 02:25:17 +12: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 53aabb4d05
commit b3b982fa8f
2 changed files with 2 additions and 2 deletions

View file

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

View file

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