()
| 169 | }; |
| 170 | |
| 171 | const buildProject = () => { |
| 172 | console.log("Building project..."); |
| 173 | |
| 174 | if (isFrontend && !isBackend) { |
| 175 | runProjectRootCommand( |
| 176 | "NODE_ENV=production SENTRY=1 npx turbo lint test check-assets build --filter @monkeytype/frontend --force", |
| 177 | ); |
| 178 | } else if (isBackend && !isFrontend) { |
| 179 | runProjectRootCommand( |
| 180 | "NODE_ENV=production SENTRY=1 npx turbo lint test build --filter @monkeytype/backend --force", |
| 181 | ); |
| 182 | } else { |
| 183 | runProjectRootCommand( |
| 184 | "NODE_ENV=production SENTRY=1 npx turbo lint test check-assets build --force", |
| 185 | ); |
| 186 | } |
| 187 | }; |
| 188 | |
| 189 | const deployBackend = () => { |
| 190 | console.log("Deploying backend..."); |
no test coverage detected