Skip to content

Update Test & linting packages #3545

Update Test & linting packages

Update Test & linting packages #3545

Triggered via push March 19, 2024 10:19
Status Failure
Total duration 57s
Artifacts

test.yml

on: push
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

38 errors and 31 warnings
Node 20.11.1 - sqlite3: lib/index.js#L21
Direct calls to new Error() are not allowed. Please use @tryghost/errors
Node 20.11.1 - sqlite3: lib/index.js#L25
Direct calls to new Error() are not allowed. Please use @tryghost/errors
Node 20.11.1 - sqlite3: lib/index.js#L29
Direct calls to new Error() are not allowed. Please use @tryghost/errors
Node 20.11.1 - sqlite3: lib/index.js#L94
File has too many lines (829). Maximum allowed is 50
Node 20.11.1 - sqlite3: lib/index.js#L671
Return values from promise executor functions cannot be read
Node 20.11.1 - sqlite3: lib/index.js#L1062
'migrations' is already declared in the upper scope on line 9 column 7
Node 20.11.1 - sqlite3: test/functional/database_spec.js#L68
Test title is used multiple times in the same test suite
Node 20.11.1 - sqlite3: test/functional/function_edge_cases_spec.js#L15
Unexpected function call in describe block
Node 20.11.1 - sqlite3: test/functional/function_edge_cases_spec.js#L15
Unexpected member expression in describe block. Member expressions may call functions via getters
Node 20.11.1 - sqlite3: test/functional/function_edge_cases_spec.js#L17
Unexpected function call in describe block
Node 16.13.0 - sqlite3
The job was canceled because "_20_11_1_sqlite3_testing" failed.
Node 16.13.0 - sqlite3: lib/index.js#L21
Direct calls to new Error() are not allowed. Please use @tryghost/errors
Node 16.13.0 - sqlite3: lib/index.js#L25
Direct calls to new Error() are not allowed. Please use @tryghost/errors
Node 16.13.0 - sqlite3: lib/index.js#L29
Direct calls to new Error() are not allowed. Please use @tryghost/errors
Node 16.13.0 - sqlite3: lib/index.js#L94
File has too many lines (829). Maximum allowed is 50
Node 16.13.0 - sqlite3: lib/index.js#L671
Return values from promise executor functions cannot be read
Node 16.13.0 - sqlite3: lib/index.js#L1062
'migrations' is already declared in the upper scope on line 9 column 7
Node 16.13.0 - sqlite3: test/functional/database_spec.js#L68
Test title is used multiple times in the same test suite
Node 16.13.0 - sqlite3: test/functional/function_edge_cases_spec.js#L15
Unexpected function call in describe block
Node 16.13.0 - sqlite3: test/functional/function_edge_cases_spec.js#L15
Unexpected member expression in describe block. Member expressions may call functions via getters
Node 16.13.0 - sqlite3: test/functional/function_edge_cases_spec.js#L17
Unexpected function call in describe block
Node 18.12.1 - sqlite3
The job was canceled because "_20_11_1_sqlite3_testing" failed.
Node 18.12.1 - sqlite3: lib/index.js#L21
Direct calls to new Error() are not allowed. Please use @tryghost/errors
Node 18.12.1 - sqlite3: lib/index.js#L25
Direct calls to new Error() are not allowed. Please use @tryghost/errors
Node 18.12.1 - sqlite3: lib/index.js#L29
Direct calls to new Error() are not allowed. Please use @tryghost/errors
Node 18.12.1 - sqlite3: lib/index.js#L94
File has too many lines (829). Maximum allowed is 50
Node 18.12.1 - sqlite3: lib/index.js#L671
Return values from promise executor functions cannot be read
Node 18.12.1 - sqlite3: lib/index.js#L1062
'migrations' is already declared in the upper scope on line 9 column 7
Node 18.12.1 - sqlite3: test/functional/database_spec.js#L68
Test title is used multiple times in the same test suite
Node 18.12.1 - sqlite3: test/functional/function_edge_cases_spec.js#L15
Unexpected function call in describe block
Node 18.12.1 - sqlite3: test/functional/function_edge_cases_spec.js#L15
Unexpected member expression in describe block. Member expressions may call functions via getters
Node 18.12.1 - sqlite3: test/functional/function_edge_cases_spec.js#L17
Unexpected function call in describe block
Node 20.11.1 - mysql8
The job was canceled because "_20_11_1_sqlite3_testing" failed.
Node 20.11.1 - mysql8
The operation was canceled.
Node 16.13.0 - mysql8
The job was canceled because "_20_11_1_sqlite3_testing" failed.
Node 16.13.0 - mysql8
The operation was canceled.
Node 18.12.1 - mysql8
The job was canceled because "_20_11_1_sqlite3_testing" failed.
Node 18.12.1 - mysql8
The operation was canceled.
Node 20.11.1 - sqlite3
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Node 20.11.1 - sqlite3: lib/database.js#L1
Split 'const' declarations into multiple statements
Node 20.11.1 - sqlite3: lib/database.js#L105
Split 'const' declarations into multiple statements
Node 20.11.1 - sqlite3: lib/database.js#L163
Split 'const' declarations into multiple statements
Node 20.11.1 - sqlite3: lib/index.js#L68
Split 'let' declarations into multiple statements
Node 20.11.1 - sqlite3: lib/index.js#L295
Split 'let' declarations into multiple statements
Node 20.11.1 - sqlite3: lib/index.js#L933
Split 'let' declarations into multiple statements
Node 20.11.1 - sqlite3: lib/index.js#L1058
Split 'let' declarations into multiple statements
Node 20.11.1 - sqlite3: lib/index.js#L1108
Split 'let' declarations into multiple statements
Node 20.11.1 - sqlite3: lib/utils.js#L1
Split 'const' declarations into multiple statements
Node 20.11.1 - sqlite3: lib/utils.js#L118
Split 'let' declarations into multiple statements
Node 16.13.0 - sqlite3: lib/database.js#L1
Split 'const' declarations into multiple statements
Node 16.13.0 - sqlite3: lib/database.js#L105
Split 'const' declarations into multiple statements
Node 16.13.0 - sqlite3: lib/database.js#L163
Split 'const' declarations into multiple statements
Node 16.13.0 - sqlite3: lib/index.js#L68
Split 'let' declarations into multiple statements
Node 16.13.0 - sqlite3: lib/index.js#L295
Split 'let' declarations into multiple statements
Node 16.13.0 - sqlite3: lib/index.js#L933
Split 'let' declarations into multiple statements
Node 16.13.0 - sqlite3: lib/index.js#L1058
Split 'let' declarations into multiple statements
Node 16.13.0 - sqlite3: lib/index.js#L1108
Split 'let' declarations into multiple statements
Node 16.13.0 - sqlite3: lib/utils.js#L1
Split 'const' declarations into multiple statements
Node 16.13.0 - sqlite3: lib/utils.js#L118
Split 'let' declarations into multiple statements
Node 18.12.1 - sqlite3: lib/database.js#L1
Split 'const' declarations into multiple statements
Node 18.12.1 - sqlite3: lib/database.js#L105
Split 'const' declarations into multiple statements
Node 18.12.1 - sqlite3: lib/database.js#L163
Split 'const' declarations into multiple statements
Node 18.12.1 - sqlite3: lib/index.js#L68
Split 'let' declarations into multiple statements
Node 18.12.1 - sqlite3: lib/index.js#L295
Split 'let' declarations into multiple statements
Node 18.12.1 - sqlite3: lib/index.js#L933
Split 'let' declarations into multiple statements
Node 18.12.1 - sqlite3: lib/index.js#L1058
Split 'let' declarations into multiple statements
Node 18.12.1 - sqlite3: lib/index.js#L1108
Split 'let' declarations into multiple statements
Node 18.12.1 - sqlite3: lib/utils.js#L1
Split 'const' declarations into multiple statements
Node 18.12.1 - sqlite3: lib/utils.js#L118
Split 'let' declarations into multiple statements