ci: Lint and Test @n8n/config on the CI as well (no-changelog) (#10156)

This commit is contained in:
कारतोफ्फेलस्क्रिप्ट™ 2024-07-23 12:17:29 +02:00 committed by GitHub
parent de015ff297
commit 0fd2c5e106
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 29 additions and 1 deletions

View file

@ -56,7 +56,6 @@ describe('GlobalConfig', () => {
tablePrefix: '',
type: 'sqlite',
},
credentials: {
defaultName: 'My credentials',
overwrite: {
@ -88,6 +87,33 @@ describe('GlobalConfig', () => {
},
},
},
eventBus: {
checkUnsentInterval: 0,
crashRecoveryMode: 'extensive',
logWriter: {
keepLogCount: 3,
logBaseName: 'n8nEventLog',
maxFileSizeInKB: 10240,
},
},
externalSecrets: {
preferGet: false,
updateInterval: 300,
},
publicApi: {
disabled: false,
path: 'api',
swaggerUiDisabled: false,
},
templates: {
enabled: true,
host: 'https://api.n8n.io/api/',
},
versionNotifications: {
enabled: true,
endpoint: 'https://api.n8n.io/api/versions/',
infoUrl: 'https://docs.n8n.io/hosting/installation/updating/',
},
};
it('should use all default values when no env variables are defined', () => {

View file

@ -24,6 +24,7 @@
"format": {},
"lint:backend": {
"dependsOn": [
"@n8n/config#lint",
"@n8n/client-oauth2#lint",
"@n8n/imap#lint",
"@n8n/permissions#lint",
@ -50,6 +51,7 @@
"lintfix": {},
"test:backend": {
"dependsOn": [
"@n8n/config#test",
"@n8n/client-oauth2#test",
"@n8n/imap#test",
"@n8n/permissions#test",