Merge pull request #11 from appsoftwareltd/static-site-publishing #76
ci.yml
on: push
test-common
8s
test-vs-code-extension
12s
deploy-pages
Annotations
10 errors and 3 warnings
|
test/config.test.ts > --config flag > should load includes directory from config:
publish/test/config.test.ts#L10
Error: Command failed: node /home/runner/work/as-notes/as-notes/publish/dist/convert.js --config /tmp/as-notes-config-test-KkyTZS/asnotes-publish.json --input /tmp/as-notes-config-test-KkyTZS/notes
node:internal/modules/cjs/loader:1210
throw err;
^
Error: Cannot find module '/home/runner/work/as-notes/as-notes/publish/dist/convert.js'
at Module._resolveFilename (node:internal/modules/cjs/loader:1207:15)
at Module._load (node:internal/modules/cjs/loader:1038:27)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:164:12)
at node:internal/main/run_main_module:28:49 {
code: 'MODULE_NOT_FOUND',
requireStack: []
}
Node.js v20.20.1
❯ run test/config.test.ts:10:12
❯ test/config.test.ts:169:9
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { status: 1, signal: null, output: [ null, '', 'node:internal/modules/cjs/loader:1210\n throw err;\n ^\n\nError: Cannot find module \'/home/runner/work/as-notes/as-notes/publish/dist/convert.js\'\n at Module._resolveFilename (node:internal/modules/cjs/loader:1207:15)\n at Module._load (node:internal/modules/cjs/loader:1038:27)\n at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:164:12)\n at node:internal/main/run_main_module:28:49 {\n code: \'MODULE_NOT_FOUND\',\n requireStack: []\n}\n\nNode.js v20.20.1\n' ], pid: 2644, stdout: '', stderr: 'node:internal/modules/cjs/loader:1210\n throw err;\n ^\n\nError: Cannot find module \'/home/runner/work/as-notes/as-notes/publish/dist/convert.js\'\n at Module._resolveFilename (node:internal/modules/cjs/loader:1207:15)\n at Module._load (node:internal/modules/cjs/loader:1038:27)\n at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:164:12)\n at node:internal/main/run_main_module:28:49 {\n code: \'MODULE_NOT_FOUND\',\n requireStack: []\n}\n\nNode.js v20.20.1\n' }
|
|
test/config.test.ts > --config flag > should still work without --config (backward compatible):
publish/test/config.test.ts#L10
Error: Command failed: node /home/runner/work/as-notes/as-notes/publish/dist/convert.js --input /tmp/as-notes-config-test-d3vT29/notes --output /tmp/as-notes-config-test-d3vT29/site --default-public
node:internal/modules/cjs/loader:1210
throw err;
^
Error: Cannot find module '/home/runner/work/as-notes/as-notes/publish/dist/convert.js'
at Module._resolveFilename (node:internal/modules/cjs/loader:1207:15)
at Module._load (node:internal/modules/cjs/loader:1038:27)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:164:12)
at node:internal/main/run_main_module:28:49 {
code: 'MODULE_NOT_FOUND',
requireStack: []
}
Node.js v20.20.1
❯ run test/config.test.ts:10:12
❯ test/config.test.ts:155:24
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { status: 1, signal: null, output: [ null, '', 'node:internal/modules/cjs/loader:1210\n throw err;\n ^\n\nError: Cannot find module \'/home/runner/work/as-notes/as-notes/publish/dist/convert.js\'\n at Module._resolveFilename (node:internal/modules/cjs/loader:1207:15)\n at Module._load (node:internal/modules/cjs/loader:1038:27)\n at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:164:12)\n at node:internal/main/run_main_module:28:49 {\n code: \'MODULE_NOT_FOUND\',\n requireStack: []\n}\n\nNode.js v20.20.1\n' ], pid: 2636, stdout: '', stderr: 'node:internal/modules/cjs/loader:1210\n throw err;\n ^\n\nError: Cannot find module \'/home/runner/work/as-notes/as-notes/publish/dist/convert.js\'\n at Module._resolveFilename (node:internal/modules/cjs/loader:1207:15)\n at Module._load (node:internal/modules/cjs/loader:1038:27)\n at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:164:12)\n at node:internal/main/run_main_module:28:49 {\n code: \'MODULE_NOT_FOUND\',\n requireStack: []\n}\n\nNode.js v20.20.1\n' }
|
|
test/config.test.ts > --config flag > should error on invalid JSON in config file:
publish/test/config.test.ts#L151
AssertionError: expected 'node:internal/modules/cjs/loader:1210…' to contain 'Invalid JSON'
- Expected
+ Received
- Invalid JSON
+ node:internal/modules/cjs/loader:1210
+ throw err;
+ ^
+
+ Error: Cannot find module '/home/runner/work/as-notes/as-notes/publish/dist/convert.js'
+ at Module._resolveFilename (node:internal/modules/cjs/loader:1207:15)
+ at Module._load (node:internal/modules/cjs/loader:1038:27)
+ at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:164:12)
+ at node:internal/main/run_main_module:28:49 {
+ code: 'MODULE_NOT_FOUND',
+ requireStack: []
+ }
+
+ Node.js v20.20.1
+
❯ test/config.test.ts:151:24
|
|
test/config.test.ts > --config flag > should error on missing config file:
publish/test/config.test.ts#L141
AssertionError: expected 'node:internal/modules/cjs/loader:1210…' to contain 'Config file not found'
- Expected
+ Received
- Config file not found
+ node:internal/modules/cjs/loader:1210
+ throw err;
+ ^
+
+ Error: Cannot find module '/home/runner/work/as-notes/as-notes/publish/dist/convert.js'
+ at Module._resolveFilename (node:internal/modules/cjs/loader:1207:15)
+ at Module._load (node:internal/modules/cjs/loader:1038:27)
+ at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:164:12)
+ at node:internal/main/run_main_module:28:49 {
+ code: 'MODULE_NOT_FOUND',
+ requireStack: []
+ }
+
+ Node.js v20.20.1
+
❯ test/config.test.ts:141:24
|
|
test/config.test.ts > --config flag > should load stylesheets and exclude from config:
publish/test/config.test.ts#L10
Error: Command failed: node /home/runner/work/as-notes/as-notes/publish/dist/convert.js --config /tmp/as-notes-config-test-17cvps/asnotes-publish.json --input /tmp/as-notes-config-test-17cvps/notes
node:internal/modules/cjs/loader:1210
throw err;
^
Error: Cannot find module '/home/runner/work/as-notes/as-notes/publish/dist/convert.js'
at Module._resolveFilename (node:internal/modules/cjs/loader:1207:15)
at Module._load (node:internal/modules/cjs/loader:1038:27)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:164:12)
at node:internal/main/run_main_module:28:49 {
code: 'MODULE_NOT_FOUND',
requireStack: []
}
Node.js v20.20.1
❯ run test/config.test.ts:10:12
❯ test/config.test.ts:133:24
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { status: 1, signal: null, output: [ null, '', 'node:internal/modules/cjs/loader:1210\n throw err;\n ^\n\nError: Cannot find module \'/home/runner/work/as-notes/as-notes/publish/dist/convert.js\'\n at Module._resolveFilename (node:internal/modules/cjs/loader:1207:15)\n at Module._load (node:internal/modules/cjs/loader:1038:27)\n at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:164:12)\n at node:internal/main/run_main_module:28:49 {\n code: \'MODULE_NOT_FOUND\',\n requireStack: []\n}\n\nNode.js v20.20.1\n' ], pid: 2603, stdout: '', stderr: 'node:internal/modules/cjs/loader:1210\n throw err;\n ^\n\nError: Cannot find module \'/home/runner/work/as-notes/as-notes/publish/dist/convert.js\'\n at Module._resolveFilename (node:internal/modules/cjs/loader:1207:15)\n at Module._load (node:internal/modules/cjs/loader:1038:27)\n at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:164:12)\n at node:internal/main/run_main_module:28:49 {\n code: \'MODULE_NOT_FOUND\',\n requireStack: []\n}\n\nNode.js v20.20.1\n' }
|
|
test/config.test.ts > --config flag > CLI --output should override config outputDir:
publish/test/config.test.ts#L10
Error: Command failed: node /home/runner/work/as-notes/as-notes/publish/dist/convert.js --config /tmp/as-notes-config-test-6QDgkk/asnotes-publish.json --input /tmp/as-notes-config-test-6QDgkk/notes --output /tmp/as-notes-config-test-6QDgkk/alt-output
node:internal/modules/cjs/loader:1210
throw err;
^
Error: Cannot find module '/home/runner/work/as-notes/as-notes/publish/dist/convert.js'
at Module._resolveFilename (node:internal/modules/cjs/loader:1207:15)
at Module._load (node:internal/modules/cjs/loader:1038:27)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:164:12)
at node:internal/main/run_main_module:28:49 {
code: 'MODULE_NOT_FOUND',
requireStack: []
}
Node.js v20.20.1
❯ run test/config.test.ts:10:12
❯ test/config.test.ts:114:9
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { status: 1, signal: null, output: [ null, '', 'node:internal/modules/cjs/loader:1210\n throw err;\n ^\n\nError: Cannot find module \'/home/runner/work/as-notes/as-notes/publish/dist/convert.js\'\n at Module._resolveFilename (node:internal/modules/cjs/loader:1207:15)\n at Module._load (node:internal/modules/cjs/loader:1038:27)\n at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:164:12)\n at node:internal/main/run_main_module:28:49 {\n code: \'MODULE_NOT_FOUND\',\n requireStack: []\n}\n\nNode.js v20.20.1\n' ], pid: 2596, stdout: '', stderr: 'node:internal/modules/cjs/loader:1210\n throw err;\n ^\n\nError: Cannot find module \'/home/runner/work/as-notes/as-notes/publish/dist/convert.js\'\n at Module._resolveFilename (node:internal/modules/cjs/loader:1207:15)\n at Module._load (node:internal/modules/cjs/loader:1038:27)\n at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:164:12)\n at node:internal/main/run_main_module:28:49 {\n code: \'MODULE_NOT_FOUND\',\n requireStack: []\n}\n\nNode.js v20.20.1\n' }
|
|
test/config.test.ts > --config flag > CLI flags should override config values:
publish/test/config.test.ts#L10
Error: Command failed: node /home/runner/work/as-notes/as-notes/publish/dist/convert.js --config /tmp/as-notes-config-test-ImC6j4/asnotes-publish.json --input /tmp/as-notes-config-test-ImC6j4/notes --layout minimal
node:internal/modules/cjs/loader:1210
throw err;
^
Error: Cannot find module '/home/runner/work/as-notes/as-notes/publish/dist/convert.js'
at Module._resolveFilename (node:internal/modules/cjs/loader:1207:15)
at Module._load (node:internal/modules/cjs/loader:1038:27)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:164:12)
at node:internal/main/run_main_module:28:49 {
code: 'MODULE_NOT_FOUND',
requireStack: []
}
Node.js v20.20.1
❯ run test/config.test.ts:10:12
❯ test/config.test.ts:100:24
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { status: 1, signal: null, output: [ null, '', 'node:internal/modules/cjs/loader:1210\n throw err;\n ^\n\nError: Cannot find module \'/home/runner/work/as-notes/as-notes/publish/dist/convert.js\'\n at Module._resolveFilename (node:internal/modules/cjs/loader:1207:15)\n at Module._load (node:internal/modules/cjs/loader:1038:27)\n at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:164:12)\n at node:internal/main/run_main_module:28:49 {\n code: \'MODULE_NOT_FOUND\',\n requireStack: []\n}\n\nNode.js v20.20.1\n' ], pid: 2572, stdout: '', stderr: 'node:internal/modules/cjs/loader:1210\n throw err;\n ^\n\nError: Cannot find module \'/home/runner/work/as-notes/as-notes/publish/dist/convert.js\'\n at Module._resolveFilename (node:internal/modules/cjs/loader:1207:15)\n at Module._load (node:internal/modules/cjs/loader:1038:27)\n at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:164:12)\n at node:internal/main/run_main_module:28:49 {\n code: \'MODULE_NOT_FOUND\',\n requireStack: []\n}\n\nNode.js v20.20.1\n' }
|
|
test/config.test.ts > --config flag > should default --output from config outputDir resolved relative to config dir:
publish/test/config.test.ts#L10
Error: Command failed: node /home/runner/work/as-notes/as-notes/publish/dist/convert.js --config /tmp/as-notes-config-test-NHA5RD/asnotes-publish.json --input /tmp/as-notes-config-test-NHA5RD/notes
node:internal/modules/cjs/loader:1210
throw err;
^
Error: Cannot find module '/home/runner/work/as-notes/as-notes/publish/dist/convert.js'
at Module._resolveFilename (node:internal/modules/cjs/loader:1207:15)
at Module._load (node:internal/modules/cjs/loader:1038:27)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:164:12)
at node:internal/main/run_main_module:28:49 {
code: 'MODULE_NOT_FOUND',
requireStack: []
}
Node.js v20.20.1
❯ run test/config.test.ts:10:12
❯ test/config.test.ts:88:24
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { status: 1, signal: null, output: [ null, '', 'node:internal/modules/cjs/loader:1210\n throw err;\n ^\n\nError: Cannot find module \'/home/runner/work/as-notes/as-notes/publish/dist/convert.js\'\n at Module._resolveFilename (node:internal/modules/cjs/loader:1207:15)\n at Module._load (node:internal/modules/cjs/loader:1038:27)\n at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:164:12)\n at node:internal/main/run_main_module:28:49 {\n code: \'MODULE_NOT_FOUND\',\n requireStack: []\n}\n\nNode.js v20.20.1\n' ], pid: 2559, stdout: '', stderr: 'node:internal/modules/cjs/loader:1210\n throw err;\n ^\n\nError: Cannot find module \'/home/runner/work/as-notes/as-notes/publish/dist/convert.js\'\n at Module._resolveFilename (node:internal/modules/cjs/loader:1207:15)\n at Module._load (node:internal/modules/cjs/loader:1038:27)\n at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:164:12)\n at node:internal/main/run_main_module:28:49 {\n code: \'MODULE_NOT_FOUND\',\n requireStack: []\n}\n\nNode.js v20.20.1\n' }
|
|
test/config.test.ts > --config flag > should default --input to config file parent directory:
publish/test/config.test.ts#L10
Error: Command failed: node /home/runner/work/as-notes/as-notes/publish/dist/convert.js --config /tmp/as-notes-config-test-MVQD9K/notes/asnotes-publish.json
node:internal/modules/cjs/loader:1210
throw err;
^
Error: Cannot find module '/home/runner/work/as-notes/as-notes/publish/dist/convert.js'
at Module._resolveFilename (node:internal/modules/cjs/loader:1207:15)
at Module._load (node:internal/modules/cjs/loader:1038:27)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:164:12)
at node:internal/main/run_main_module:28:49 {
code: 'MODULE_NOT_FOUND',
requireStack: []
}
Node.js v20.20.1
❯ run test/config.test.ts:10:12
❯ test/config.test.ts:77:24
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { status: 1, signal: null, output: [ null, '', 'node:internal/modules/cjs/loader:1210\n throw err;\n ^\n\nError: Cannot find module \'/home/runner/work/as-notes/as-notes/publish/dist/convert.js\'\n at Module._resolveFilename (node:internal/modules/cjs/loader:1207:15)\n at Module._load (node:internal/modules/cjs/loader:1038:27)\n at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:164:12)\n at node:internal/main/run_main_module:28:49 {\n code: \'MODULE_NOT_FOUND\',\n requireStack: []\n}\n\nNode.js v20.20.1\n' ], pid: 2547, stdout: '', stderr: 'node:internal/modules/cjs/loader:1210\n throw err;\n ^\n\nError: Cannot find module \'/home/runner/work/as-notes/as-notes/publish/dist/convert.js\'\n at Module._resolveFilename (node:internal/modules/cjs/loader:1207:15)\n at Module._load (node:internal/modules/cjs/loader:1038:27)\n at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:164:12)\n at node:internal/main/run_main_module:28:49 {\n code: \'MODULE_NOT_FOUND\',\n requireStack: []\n}\n\nNode.js v20.20.1\n' }
|
|
test/config.test.ts > --config flag > should load config file and use its settings:
publish/test/config.test.ts#L10
Error: Command failed: node /home/runner/work/as-notes/as-notes/publish/dist/convert.js --config /tmp/as-notes-config-test-3D7N77/asnotes-publish.json --input /tmp/as-notes-config-test-3D7N77/notes
node:internal/modules/cjs/loader:1210
throw err;
^
Error: Cannot find module '/home/runner/work/as-notes/as-notes/publish/dist/convert.js'
at Module._resolveFilename (node:internal/modules/cjs/loader:1207:15)
at Module._load (node:internal/modules/cjs/loader:1038:27)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:164:12)
at node:internal/main/run_main_module:28:49 {
code: 'MODULE_NOT_FOUND',
requireStack: []
}
Node.js v20.20.1
❯ run test/config.test.ts:10:12
❯ test/config.test.ts:61:24
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { status: 1, signal: null, output: [ null, '', 'node:internal/modules/cjs/loader:1210\n throw err;\n ^\n\nError: Cannot find module \'/home/runner/work/as-notes/as-notes/publish/dist/convert.js\'\n at Module._resolveFilename (node:internal/modules/cjs/loader:1207:15)\n at Module._load (node:internal/modules/cjs/loader:1038:27)\n at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:164:12)\n at node:internal/main/run_main_module:28:49 {\n code: \'MODULE_NOT_FOUND\',\n requireStack: []\n}\n\nNode.js v20.20.1\n' ], pid: 2534, stdout: '', stderr: 'node:internal/modules/cjs/loader:1210\n throw err;\n ^\n\nError: Cannot find module \'/home/runner/work/as-notes/as-notes/publish/dist/convert.js\'\n at Module._resolveFilename (node:internal/modules/cjs/loader:1207:15)\n at Module._load (node:internal/modules/cjs/loader:1038:27)\n at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:164:12)\n at node:internal/main/run_main_module:28:49 {\n code: \'MODULE_NOT_FOUND\',\n requireStack: []\n}\n\nNode.js v20.20.1\n' }
|
|
test-common
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-node@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
test-vs-code-extension
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-node@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
test-publish
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-node@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|