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
razor
razor12mo ago
u can cache the build with turbo pack ig and linting
pandakas
pandakas12mo ago
too bad it still on beta/experimental wont use it for production apps
razor
razor12mo ago
i meant turborepo. that is not in beta right?
pandakas
pandakas12mo 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
More Posts
Consumer tRPC client package from private API type?I have a monrepo (template from t3-turbo), with a tRPC API package. I'd like to expose a router for SKIP_ENV_VALIDATIONI have this set to 'true' in my .env but I'm still getting errors about missing envs (they aren't miHow to add unique username to user that signed in via provider?What I'm trying to do: I'm trying to force user to add username after they signed in via provider. ARecommended architecture for my simple web scraping data visualizer for gym capacityHello. As of now, I have set up a lambda function that runs every 15min (scheduled by AWS EventBridgIf I make a cross platform website/app with nextJS + react native, how does the backend work?i havent used nextJS before so its a gray area for me , will my react-native app share the same backwhat should i know about backend before starting with nextjs?I am learning react for a while, and I am felling pretty comfortable with building things with that Invalid Environment VariablesI am having an issue with accessing my ENVs within my drizzle.config.ts. I'm getting an error about I need help understanding request body typesHello 👋 I need help understanding how to tell typescript what type of value I expect `json` to beMoving primary content when sidebar appearsHi! I am not really sure what this would be called or considered, so my searching for something simiAuth0 - customize login screenhttps://community.auth0.com/t/customization-both-widget-and-html-universal-login-page/109459 Have an