Compare commits

..

2 Commits

2 changed files with 12 additions and 22 deletions

24
Jenkinsfile vendored
View File

@@ -20,18 +20,18 @@ pipeline {
}
}
stage('Lint') {
steps {
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)
if (hasLint == 0) {
sh 'npm run lint'
} else {
echo 'No lint script configured; skipping lint stage.'
}
}
}
}
// stage('Lint') {
// steps {
// 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)
// if (hasLint == 0) {
// sh 'npm run lint'
// } else {
// echo 'No lint script configured; skipping lint stage.'
// }
// }
// }
// }
stage('Build application') {
steps {

View File

@@ -1,15 +1,5 @@
/** @type {import('next').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: {
serverActions: {
bodySizeLimit: "2mb",