Should now catch server start errors in the GitHub workflow

This commit is contained in:
00Fjongl 2024-07-24 22:49:30 -05:00
parent a1f4c13fc5
commit 70330f8d2b
2 changed files with 36 additions and 41 deletions

View file

@ -1,8 +1,3 @@
(async () => {
try {
await import("./src/server.mjs");
} catch (e) {
console.error(e);
process.exit(1);
}
})();

View file

@ -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": [