The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
chore: only lint in CI, not on Vercel (#28136)
Kevin Grüneberg4496c5a9abc8
diff --git a/.github/workflows/typecheck.yml b/.github/workflows/typecheck.ymlindex eb4e5885a55..70481bb7bb3 100644--- a/.github/workflows/typecheck.yml+++ b/.github/workflows/typecheck.yml@@ -1,4 +1,4 @@-name: Check code with TypeScript+name: Check code with TypeScript & Linton:pull_request:@@ -30,3 +30,6 @@ jobs:- name: Run TypeScript type checkrun: npx turbo run typecheck++ - name: Run Lint+ run: npx turbo run lintdiff --git a/apps/docs/next.config.mjs b/apps/docs/next.config.mjsindex 64904e0eaaa..259c5e70ede 100644--- a/apps/docs/next.config.mjs+++ b/apps/docs/next.config.mjs@@ -150,6 +150,10 @@ const nextConfig = {// Typechecking is checked separately via .github/workflows/typecheck.ymlignoreBuildErrors: true,},+ eslint: {+ // We are already running linting via GH action, this will skip linting during production build on Vercel+ ignoreDuringBuilds: true,+ },}const configExport = () => {diff --git a/apps/studio/next.config.js b/apps/studio/next.config.jsindex 914794799da..fe49f4b4c3f 100644--- a/apps/studio/next.config.js+++ b/apps/studio/next.config.js@@ -469,6 +469,10 @@ const nextConfig = {// Typechecking is checked separately via .github/workflows/typecheck.ymlignoreBuildErrors: true,},+ eslint: {+ // We are already running linting via GH action, this will skip linting during production build on Vercel+ ignoreDuringBuilds: true,+ },}// module.exports = withBundleAnalyzer(nextConfig)diff --git a/apps/www/next.config.mjs b/apps/www/next.config.mjsindex 89d085ba64e..5ff717c4de4 100644--- a/apps/www/next.config.mjs+++ b/apps/www/next.config.mjs@@ -93,6 +93,15 @@ const nextConfig = {async redirects() {return redirects},+ typescript: {+ // WARNING: production builds can successfully complete even there are type errors+ // Typechecking is checked separately via .github/workflows/typecheck.yml+ ignoreBuildErrors: true,+ },+ eslint: {+ // We are already running linting via GH action, this will skip linting during production build on Vercel+ ignoreDuringBuilds: true,+ },}// next.config.js.