Compare commits
2 Commits
feature/cl
...
fix/commen
| Author | SHA1 | Date | |
|---|---|---|---|
| c0d3eb84bd | |||
| c42709194c |
24
Jenkinsfile
vendored
24
Jenkinsfile
vendored
@@ -20,18 +20,18 @@ pipeline {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
stage('Lint') {
|
// stage('Lint') {
|
||||||
steps {
|
// steps {
|
||||||
script {
|
// script {
|
||||||
def hasLint = sh(script: "node -e \"const fs=require('fs');const p=require('./package.json');process.exit(p?.scripts?.lint?0:1)\"", returnStatus: true)
|
// def hasLint = sh(script: "node -e \"const fs=require('fs');const p=require('./package.json');process.exit(p?.scripts?.lint?0:1)\"", returnStatus: true)
|
||||||
if (hasLint == 0) {
|
// if (hasLint == 0) {
|
||||||
sh 'npm run lint'
|
// sh 'npm run lint'
|
||||||
} else {
|
// } else {
|
||||||
echo 'No lint script configured; skipping lint stage.'
|
// echo 'No lint script configured; skipping lint stage.'
|
||||||
}
|
// }
|
||||||
}
|
// }
|
||||||
}
|
// }
|
||||||
}
|
// }
|
||||||
|
|
||||||
stage('Build application') {
|
stage('Build application') {
|
||||||
steps {
|
steps {
|
||||||
|
|||||||
@@ -1,15 +1,5 @@
|
|||||||
/** @type {import('next').NextConfig} */
|
/** @type {import('next').NextConfig} */
|
||||||
const nextConfig = {
|
const nextConfig = {
|
||||||
eslint: {
|
|
||||||
// Temporary: repository has existing no-explicit-any violations.
|
|
||||||
// Keep dedicated lint stage in CI; do not block production build on legacy lint debt.
|
|
||||||
ignoreDuringBuilds: true,
|
|
||||||
},
|
|
||||||
typescript: {
|
|
||||||
// Temporary: repository has existing unrelated type errors in billing/stripe flows.
|
|
||||||
// Keep separate typecheck/lint quality gates while allowing production image build.
|
|
||||||
ignoreBuildErrors: true,
|
|
||||||
},
|
|
||||||
experimental: {
|
experimental: {
|
||||||
serverActions: {
|
serverActions: {
|
||||||
bodySizeLimit: "2mb",
|
bodySizeLimit: "2mb",
|
||||||
|
|||||||
Reference in New Issue
Block a user