Linter & type check in nextjs app

hi if all the linter & typecheck is already done in each PR branch with CI, do i still need to do check lint & types in master branch before deployment ? is there any edge case that i dont think of ? contexts: nextjs app, 100k+loc, 3-5 engineers working on same repo i heard a lot about how theo improve the build time in nextjs app, but somehow i cant find the videos where he talks about these
4 Replies
Navaneeth
Navaneeth2y ago
u can cache the build with turbo pack ig and linting
pandakas
pandakasOP2y ago
too bad it still on beta/experimental wont use it for production apps
Navaneeth
Navaneeth2y ago
i meant turborepo. that is not in beta right?
pandakas
pandakasOP2y ago
you know what i just realized nextjs have cache when building mine is not automatically activated because i deploy it into gcp, i think i would try this approach first https://nextjs.org/docs/pages/building-your-application/deploying/ci-build-caching#github-actions
Deploying: Continuous Integration (CI) Build Caching
Learn how to configure CI to cache Next.js builds
Want results from more Discord servers?
Add your server