The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
Skip `fetchAgentSkills` for `www` typecheck GHA (#47907)
Joshen Lim06aafe4e0a55
diff --git a/.github/workflows/typecheck.yml b/.github/workflows/typecheck.ymlindex e9fb0896e39..e6faaa80661 100644--- a/.github/workflows/typecheck.yml+++ b/.github/workflows/typecheck.yml@@ -42,6 +42,8 @@ jobs:- name: Run TypeScript type checkrun: pnpm run typecheck+ env:+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}- name: Run Lintrun: pnpm run lintdiff --git a/apps/www/package.json b/apps/www/package.jsonindex 5495f58a98e..aa164943424 100644--- a/apps/www/package.json+++ b/apps/www/package.json@@ -13,8 +13,9 @@"lint": "eslint .","clean": "rimraf node_modules","pretypecheck": "next typegen",- "typecheck": "pnpm run content:build && tsc --noEmit",- "content:build": "node scripts/generateStaticContent.mjs && node scripts/generateMdContent.mjs && node scripts/fetchAgentSkills.mjs",+ "typecheck": "pnpm run content:build:core && tsc --noEmit",+ "content:build:core": "node scripts/generateStaticContent.mjs && node scripts/generateMdContent.mjs",+ "content:build": "pnpm run content:build:core && node scripts/fetchAgentSkills.mjs","test": "vitest --run","test:watch": "vitest watch","postbuild": "node ./internals/generate-sitemap.mjs && ./../../scripts/upload-static-assets.sh"diff --git a/apps/www/scripts/generateStaticContent.mjs b/apps/www/scripts/generateStaticContent.mjsindex 7c8fe24c57b..0fac6a1eaed 100644--- a/apps/www/scripts/generateStaticContent.mjs+++ b/apps/www/scripts/generateStaticContent.mjs@@ -237,7 +237,7 @@ let stars = 0// GitHub Starsconst fetchOctoData = async () => {const { Octokit } = await import('@octokit/core')- const octokit = new Octokit()+ const octokit = new Octokit(process.env.GITHUB_TOKEN ? { auth: process.env.GITHUB_TOKEN } : {})const res = await octokit.request('GET /repos/{org}/{repo}', {org: 'supabase',repo: 'supabase',diff --git a/apps/www/turbo.jsonc b/apps/www/turbo.jsoncindex cc563b675cc..e4ba1802468 100644--- a/apps/www/turbo.jsonc+++ b/apps/www/turbo.jsonc@@ -2,6 +2,12 @@"$schema": "./../../node_modules/turbo/schema.json","extends": ["//"],"tasks": {+ "lint": {+ "env": ["GITHUB_TOKEN"],+ },+ "typecheck": {+ "env": ["GITHUB_TOKEN"],+ },"build": {"dependsOn": ["^build"],"env": [