mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-09 22:24:05 -08:00
ci: Lint and Test @n8n/config on the CI as well (no-changelog) (#10156)
This commit is contained in:
parent
de015ff297
commit
0fd2c5e106
|
@ -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', () => {
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Reference in a new issue