diff --git a/.github/workflows/deploy-to-pages.yml b/.github/workflows/deploy-to-pages.yml index eee074dd0..21ed49e9f 100644 --- a/.github/workflows/deploy-to-pages.yml +++ b/.github/workflows/deploy-to-pages.yml @@ -59,3 +59,4 @@ jobs: with: name: build path: .build + if-no-files-found: error diff --git a/tsconfig.json b/tsconfig.json index 9a9ba17c6..037e0d6ec 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -22,6 +22,6 @@ "isolatedModules": true, "incremental": true }, - "exclude": ["node_modules"], + "exclude": ["node_modules", "config"], "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx"] }