fix: exclude deployment history from builds and source checks
Some checks failed
Test and deploy / Verify production build (push) Failing after 6m40s

This commit is contained in:
2026-09-15 22:29:08 +03:30
parent 0cd218022a
commit 4ede4975ce
4 changed files with 13 additions and 4 deletions

View File

@@ -9,6 +9,13 @@ test-results
playwright-report playwright-report
.playwright-cli .playwright-cli
# Deployment history and runtime configuration are not application source.
releases
current
.deploy.lock
runtime.env
release.env
.env .env
.env.* .env.*

View File

@@ -5,5 +5,5 @@ import nextTypeScript from 'eslint-config-next/typescript';
export default defineConfig([ export default defineConfig([
...nextVitals, ...nextVitals,
...nextTypeScript, ...nextTypeScript,
globalIgnores(['.next/**', 'node_modules/**', 'next-env.d.ts']), globalIgnores(['.next/**', 'node_modules/**', 'next-env.d.ts', 'releases/**', 'current/**']),
]); ]);

4
next-env.d.ts vendored
View File

@@ -1,7 +1,7 @@
/// <reference types="next" /> /// <reference types="next" />
/// <reference types="next/image-types/global" /> /// <reference types="next/image-types/global" />
import "./.next/dev/types/routes.d.ts"; import "./.next/types/routes.d.ts";
import "./.next/dev/types/root-params.d.ts"; import "./.next/types/root-params.d.ts";
// NOTE: This file should not be edited // NOTE: This file should not be edited
// see https://nextjs.org/docs/app/api-reference/config/typescript for more information. // see https://nextjs.org/docs/app/api-reference/config/typescript for more information.

View File

@@ -36,6 +36,8 @@
".next/dev/types/**/*.ts" ".next/dev/types/**/*.ts"
], ],
"exclude": [ "exclude": [
"node_modules" "node_modules",
"releases",
"current"
] ]
} }