mirror of
https://github.com/QuiteAFancyEmerald/Holy-Unblocker.git
synced 2025-05-12 11:30:01 -04:00
Should now catch server start errors in the GitHub workflow
This commit is contained in:
parent
a1f4c13fc5
commit
70330f8d2b
2 changed files with 36 additions and 41 deletions
|
@ -1,8 +1,3 @@
|
|||
(async () => {
|
||||
try {
|
||||
await import("./src/server.mjs");
|
||||
} catch (e) {
|
||||
console.error(e);
|
||||
process.exit(1);
|
||||
}
|
||||
})();
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
"start": "node backend.js",
|
||||
"build": "npm run start",
|
||||
"test": "npm run proxy-validator",
|
||||
"start-test-server": "node backend.js &",
|
||||
"start-test-server": "set -e; node backend.js & bg_pid=$!; wait \"${bg_pid}\"",
|
||||
"proxy-validator": "node proxyServiceValidator.js"
|
||||
},
|
||||
"keywords": [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue