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
u can cache the build with turbo pack ig
and linting
too bad it still on beta/experimental
wont use it for production apps
i meant turborepo. that is not in beta right?
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