Restart code sandbox on crash in eval github workflow (#1007)

See
e3fed3750b
for corresponding change to use pm2 to auto-restart code sandbox
This commit is contained in:
Debanjum
2024-12-12 14:32:03 -08:00
committed by GitHub
parent 12c976dcb2
commit 2db7a1ca6b

View File

@@ -114,7 +114,7 @@ jobs:
# Start code sandbox
npm install -g pm2
pm2 start src/index.ts --interpreter ts-node --exp-backoff-restart-delay=100 --name sandbox --cwd terrarium
npm run ci --prefix terrarium
# Wait for server to be ready
timeout=120