Skip to content

Commit

Permalink
[TEMP] #123, repair test cases
Browse files Browse the repository at this point in the history
  • Loading branch information
Type-Style committed Sep 3, 2024
1 parent 0eca482 commit c4838e8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
- name: Start server
run: |
sudo NODE_ENV=$NODE_ENV KEY=$KEY USER_TEST=$USER_TEST npm start &
sleep 16 # Give server some time to start
sleep 15 # Give server some time to start
- name: Check if server is running
run: |
curl --fail http://localhost:80 || exit 1
Expand Down
2 changes: 2 additions & 0 deletions src/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,8 @@ app.use(error.handler);
// init server
const server = app.listen(80, () => {
logger.log(`Server running //localhost:80, ENV: ${process.env.NODE_ENV}`, true);
logger.log(`KEY: ${process.env.KEY}`, true);
logger.log(`USER_TEST: ${process.env.USER_TEST}`, true);
});

// scheduled cleanup
Expand Down

0 comments on commit c4838e8

Please sign in to comment.