chore(docker): add tests as part of the build phase
+ 1
- 0
@@ -35,6 +35,7 @@ ENV NODE_ENV=production
 
 RUN yarn generate:prisma   # Generate Prisma Client from schema (db/schema.prisma)
 RUN yarn typecheck         # Validate TS types are valid first
+RUN yarn test              # Test code to ensure it is regression-free (jest)
 RUN yarn clean             # Cleanup working dir
 RUN yarn build:ts          # Transpile TypeScript to JavaScript (node)
 RUN yarn bundle:islands    # Bundle Islands (react-monolith) to ESM/CJS/UMD