Update Node.js version matrix in CI workflow #35
Annotations
8 errors
|
build (20.x)
Process completed with exit code 1.
|
|
src/scripts/__tests__/compile-pug-templates.test.ts > compile-pug-templates script > should create output file with proper JSON formatting:
src/scripts/__tests__/compile-pug-templates.test.ts#L204
Error: Command failed: npx ts-node /home/runner/work/vintasend-pug/vintasend-pug/src/scripts/compile-pug-templates.ts /home/runner/work/vintasend-pug/vintasend-pug/src/scripts/__tests__/__temp__/templates /home/runner/work/vintasend-pug/vintasend-pug/src/scripts/__tests__/__temp__/output.json
TypeError: Unknown file extension ".ts" for /home/runner/work/vintasend-pug/vintasend-pug/src/scripts/compile-pug-templates.ts
at Object.getFileProtocolModuleFormat [as file:] (node:internal/modules/esm/get_format:189:9)
at defaultGetFormat (node:internal/modules/esm/get_format:232:36)
at defaultLoad (node:internal/modules/esm/load:145:22)
at async ModuleLoader.loadAndTranslate (node:internal/modules/esm/loader:543:45)
at async ModuleJob._link (node:internal/modules/esm/module_job:148:19) {
code: 'ERR_UNKNOWN_FILE_EXTENSION'
}
❯ src/scripts/__tests__/compile-pug-templates.test.ts:204:5
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { status: 1, signal: null, output: [ null, '<Buffer(0) ...>', '<Buffer(555) ...>' ], pid: 2619, stdout: '<Buffer(0) ...>', stderr: '<Buffer(555) ...>' }
|
|
src/scripts/__tests__/compile-pug-templates.test.ts > compile-pug-templates script > should handle special characters in file names:
src/scripts/__tests__/compile-pug-templates.test.ts#L186
Error: Command failed: npx ts-node /home/runner/work/vintasend-pug/vintasend-pug/src/scripts/compile-pug-templates.ts /home/runner/work/vintasend-pug/vintasend-pug/src/scripts/__tests__/__temp__/templates /home/runner/work/vintasend-pug/vintasend-pug/src/scripts/__tests__/__temp__/output.json
TypeError: Unknown file extension ".ts" for /home/runner/work/vintasend-pug/vintasend-pug/src/scripts/compile-pug-templates.ts
at Object.getFileProtocolModuleFormat [as file:] (node:internal/modules/esm/get_format:189:9)
at defaultGetFormat (node:internal/modules/esm/get_format:232:36)
at defaultLoad (node:internal/modules/esm/load:145:22)
at async ModuleLoader.loadAndTranslate (node:internal/modules/esm/loader:543:45)
at async ModuleJob._link (node:internal/modules/esm/module_job:148:19) {
code: 'ERR_UNKNOWN_FILE_EXTENSION'
}
❯ src/scripts/__tests__/compile-pug-templates.test.ts:186:5
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { status: 1, signal: null, output: [ null, '<Buffer(0) ...>', '<Buffer(555) ...>' ], pid: 2595, stdout: '<Buffer(0) ...>', stderr: '<Buffer(555) ...>' }
|
|
src/scripts/__tests__/compile-pug-templates.test.ts > compile-pug-templates script > should preserve template content exactly as written:
src/scripts/__tests__/compile-pug-templates.test.ts#L166
Error: Command failed: npx ts-node /home/runner/work/vintasend-pug/vintasend-pug/src/scripts/compile-pug-templates.ts /home/runner/work/vintasend-pug/vintasend-pug/src/scripts/__tests__/__temp__/templates /home/runner/work/vintasend-pug/vintasend-pug/src/scripts/__tests__/__temp__/output.json
TypeError: Unknown file extension ".ts" for /home/runner/work/vintasend-pug/vintasend-pug/src/scripts/compile-pug-templates.ts
at Object.getFileProtocolModuleFormat [as file:] (node:internal/modules/esm/get_format:189:9)
at defaultGetFormat (node:internal/modules/esm/get_format:232:36)
at defaultLoad (node:internal/modules/esm/load:145:22)
at async ModuleLoader.loadAndTranslate (node:internal/modules/esm/loader:543:45)
at async ModuleJob._link (node:internal/modules/esm/module_job:148:19) {
code: 'ERR_UNKNOWN_FILE_EXTENSION'
}
❯ src/scripts/__tests__/compile-pug-templates.test.ts:166:5
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { status: 1, signal: null, output: [ null, '<Buffer(0) ...>', '<Buffer(555) ...>' ], pid: 2571, stdout: '<Buffer(0) ...>', stderr: '<Buffer(555) ...>' }
|
|
src/scripts/__tests__/compile-pug-templates.test.ts > compile-pug-templates script > should handle empty directories:
src/scripts/__tests__/compile-pug-templates.test.ts#L106
Error: Command failed: npx ts-node /home/runner/work/vintasend-pug/vintasend-pug/src/scripts/compile-pug-templates.ts /home/runner/work/vintasend-pug/vintasend-pug/src/scripts/__tests__/__temp__/empty-templates /home/runner/work/vintasend-pug/vintasend-pug/src/scripts/__tests__/__temp__/output.json
TypeError: Unknown file extension ".ts" for /home/runner/work/vintasend-pug/vintasend-pug/src/scripts/compile-pug-templates.ts
at Object.getFileProtocolModuleFormat [as file:] (node:internal/modules/esm/get_format:189:9)
at defaultGetFormat (node:internal/modules/esm/get_format:232:36)
at defaultLoad (node:internal/modules/esm/load:145:22)
at async ModuleLoader.loadAndTranslate (node:internal/modules/esm/loader:543:45)
at async ModuleJob._link (node:internal/modules/esm/module_job:148:19) {
code: 'ERR_UNKNOWN_FILE_EXTENSION'
}
❯ src/scripts/__tests__/compile-pug-templates.test.ts:106:5
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { status: 1, signal: null, output: [ null, '<Buffer(0) ...>', '<Buffer(555) ...>' ], pid: 2499, stdout: '<Buffer(0) ...>', stderr: '<Buffer(555) ...>' }
|
|
src/scripts/__tests__/compile-pug-templates.test.ts > compile-pug-templates script > should only include .pug files:
src/scripts/__tests__/compile-pug-templates.test.ts#L89
Error: Command failed: npx ts-node /home/runner/work/vintasend-pug/vintasend-pug/src/scripts/compile-pug-templates.ts /home/runner/work/vintasend-pug/vintasend-pug/src/scripts/__tests__/__temp__/templates /home/runner/work/vintasend-pug/vintasend-pug/src/scripts/__tests__/__temp__/output.json
TypeError: Unknown file extension ".ts" for /home/runner/work/vintasend-pug/vintasend-pug/src/scripts/compile-pug-templates.ts
at Object.getFileProtocolModuleFormat [as file:] (node:internal/modules/esm/get_format:189:9)
at defaultGetFormat (node:internal/modules/esm/get_format:232:36)
at defaultLoad (node:internal/modules/esm/load:145:22)
at async ModuleLoader.loadAndTranslate (node:internal/modules/esm/loader:543:45)
at async ModuleJob._link (node:internal/modules/esm/module_job:148:19) {
code: 'ERR_UNKNOWN_FILE_EXTENSION'
}
❯ src/scripts/__tests__/compile-pug-templates.test.ts:89:5
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { status: 1, signal: null, output: [ null, '<Buffer(0) ...>', '<Buffer(555) ...>' ], pid: 2475, stdout: '<Buffer(0) ...>', stderr: '<Buffer(555) ...>' }
|
|
src/scripts/__tests__/compile-pug-templates.test.ts > compile-pug-templates script > should handle nested directories:
src/scripts/__tests__/compile-pug-templates.test.ts#L65
Error: Command failed: npx ts-node /home/runner/work/vintasend-pug/vintasend-pug/src/scripts/compile-pug-templates.ts /home/runner/work/vintasend-pug/vintasend-pug/src/scripts/__tests__/__temp__/templates /home/runner/work/vintasend-pug/vintasend-pug/src/scripts/__tests__/__temp__/output.json
TypeError: Unknown file extension ".ts" for /home/runner/work/vintasend-pug/vintasend-pug/src/scripts/compile-pug-templates.ts
at Object.getFileProtocolModuleFormat [as file:] (node:internal/modules/esm/get_format:189:9)
at defaultGetFormat (node:internal/modules/esm/get_format:232:36)
at defaultLoad (node:internal/modules/esm/load:145:22)
at async ModuleLoader.loadAndTranslate (node:internal/modules/esm/loader:543:45)
at async ModuleJob._link (node:internal/modules/esm/module_job:148:19) {
code: 'ERR_UNKNOWN_FILE_EXTENSION'
}
❯ src/scripts/__tests__/compile-pug-templates.test.ts:65:5
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { status: 1, signal: null, output: [ null, '<Buffer(0) ...>', '<Buffer(555) ...>' ], pid: 2451, stdout: '<Buffer(0) ...>', stderr: '<Buffer(555) ...>' }
|
|
src/scripts/__tests__/compile-pug-templates.test.ts > compile-pug-templates script > should compile pug templates from a directory:
src/scripts/__tests__/compile-pug-templates.test.ts#L36
Error: Command failed: npx ts-node /home/runner/work/vintasend-pug/vintasend-pug/src/scripts/compile-pug-templates.ts /home/runner/work/vintasend-pug/vintasend-pug/src/scripts/__tests__/__temp__/templates /home/runner/work/vintasend-pug/vintasend-pug/src/scripts/__tests__/__temp__/output.json
npm warn exec The following package was not found and will be installed: ts-node@10.9.2
TypeError: Unknown file extension ".ts" for /home/runner/work/vintasend-pug/vintasend-pug/src/scripts/compile-pug-templates.ts
at Object.getFileProtocolModuleFormat [as file:] (node:internal/modules/esm/get_format:189:9)
at defaultGetFormat (node:internal/modules/esm/get_format:232:36)
at defaultLoad (node:internal/modules/esm/load:145:22)
at async ModuleLoader.loadAndTranslate (node:internal/modules/esm/loader:543:45)
at async ModuleJob._link (node:internal/modules/esm/module_job:148:19) {
code: 'ERR_UNKNOWN_FILE_EXTENSION'
}
❯ src/scripts/__tests__/compile-pug-templates.test.ts:36:5
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { status: 1, signal: null, output: [ null, '<Buffer(0) ...>', '<Buffer(643) ...>' ], pid: 2427, stdout: '<Buffer(0) ...>', stderr: '<Buffer(643) ...>' }
|