We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 12b58d0 + ab10675 commit 64d97dbCopy full SHA for 64d97db
server.js
@@ -19,7 +19,7 @@ if (!module.parent) {
19
// If in a deployed environment, warm the server at the start
20
if (process.env.NODE_ENV === 'production') {
21
// If in a true production environment, wait for the cache to be fully warmed.
22
- if (process.env.HEROKU_PRODUCTION_APP) {
+ if (process.env.HEROKU_PRODUCTION_APP || process.env.GITHUB_ACTIONS) {
23
await warmServer()
24
} else {
25
// If not in a true production environment, don't wait for the cache to be fully warmed.
0 commit comments