File tree Expand file tree Collapse file tree 1 file changed +10
-7
lines changed
Expand file tree Collapse file tree 1 file changed +10
-7
lines changed Original file line number Diff line number Diff line change @@ -176,17 +176,20 @@ const installDependencies = () => {
176176
177177const buildProject = ( ) => {
178178 console . log ( "Building project..." ) ;
179- let filter = "" ;
180179
181180 if ( isFrontend && ! isBackend ) {
182- filter = "--filter @monkeytype/frontend" ;
181+ runProjectRootCommand (
182+ "SENTRY=1 npx turbo lint test validate-json build --filter @monkeytype/frontend --force"
183+ ) ;
183184 } else if ( isBackend && ! isFrontend ) {
184- filter = "--filter @monkeytype/backend" ;
185+ runProjectRootCommand (
186+ "SENTRY=1 npx turbo lint test build --filter @monkeytype/backend --force"
187+ ) ;
188+ } else {
189+ runProjectRootCommand (
190+ "SENTRY=1 npx turbo lint test validate-json build --force"
191+ ) ;
185192 }
186-
187- runProjectRootCommand (
188- "SENTRY=1 npx turbo lint test validate-json build " + filter + " --force"
189- ) ;
190193} ;
191194
192195const deployBackend = ( ) => {
You can’t perform that action at this time.
0 commit comments