Skip to content

Commit

Permalink
Fix github actions bug
Browse files Browse the repository at this point in the history
  • Loading branch information
samchon committed Mar 27, 2024
1 parent 1f01f01 commit 8709f60
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@ lib/
node_modules/

bundle/*.js
package-lock.json
package-lock.json
pnpm-lock.yaml
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
"mv": "^2.1.1",
"prettier": "^3.2.5",
"puppeteer": "^22.4.1",
"rimraf": "^5.0.5",
"source-map-support": "^0.5.21",
"ts-node": "^10.9.2",
"ts-patch": "^3.1.2",
Expand Down
4 changes: 2 additions & 2 deletions test/node/protocols/workers/test_worker_compiler.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import fs from "fs";
import cp from "child_process";

import { ICalculator } from "../../../controllers/ICalculator";
import { WorkerConnector } from "tgrid";
import { TestBundler } from "../../../browser/TestBundler";

export async function test_worker_compiler(): Promise<void> {
const PATH = __dirname + "/../../../../../bundle/worker-server.js";
if (fs.existsSync(PATH) === false) cp.execSync("npm run bundle");
if (fs.existsSync(PATH) === false) await TestBundler.execute();

await _Test_worker(
(worker) => worker.compile(fs.readFileSync(PATH, "utf8")),
Expand Down

0 comments on commit 8709f60

Please sign in to comment.