ci: 添加 Lint 阶段到 Jenkinsfile
All checks were successful
aigc/aigc_next_multi/pipeline/pr-main This commit looks good
aigc/aigc_next_multi/pipeline/head This commit looks good
aigc/aigc_next_multi/pipeline/release This commit looks good

This commit was merged in pull request #2.
This commit is contained in:
2026-02-09 13:37:47 +08:00
parent 4865ca8392
commit 96ddb09ea3

13
Jenkinsfile vendored
View File

@@ -20,7 +20,20 @@ pipeline {
}
}
stage('Lint') {
steps {
sh '''
corepack enable
pnpm install --registry=https://registry.npmmirror.com
pnpm run lint
'''
}
}
stage('Build') {
when {
expression { currentBuild.currentResult == 'SUCCESS' }
}
steps {
sh '''
corepack enable