Automate widget installation and static verification #93
ci.yml
on: pull_request
Production dependency audit
17s
Matrix: validate
Annotations
10 errors and 4 warnings
|
tests/cli-source-widget.test.ts > scan source-widget integration > rejects an external connector-managed widget before provisioning:
tests/cli-source-widget.test.ts#L266
AssertionError: expected 'file:///home/runner/work/connect/conn…' to contain 'outside the selected global shell'
- Expected
+ Received
- outside the selected global shell
+ file:///home/runner/work/connect/connect/node_modules/vite/dist/node/chunks/config.js:2444
+ const h = crypto.hash("sha256", text, "hex").substring(0, length);
+ ^
+
+ TypeError: crypto.hash is not a function
+ at getHash (file:///home/runner/work/connect/connect/node_modules/vite/dist/node/chunks/config.js:2444:19)
+ at getLockfileHash (file:///home/runner/work/connect/connect/node_modules/vite/dist/node/chunks/config.js:32463:9)
+ at getDepHash (file:///home/runner/work/connect/connect/node_modules/vite/dist/node/chunks/config.js:32466:23)
+ at initDepsOptimizerMetadata (file:///home/runner/work/connect/connect/node_modules/vite/dist/node/chunks/config.js:31925:53)
+ at createDepsOptimizer (file:///home/runner/work/connect/connect/node_modules/vite/dist/node/chunks/config.js:34113:17)
+ at new DevEnvironment (file:///home/runner/work/connect/connect/node_modules/vite/dist/node/chunks/config.js:34893:109)
+ at Object.defaultCreateClientDevEnvironment [as createEnvironment] (file:///home/runner/work/connect/connect/node_modules/vite/dist/node/chunks/config.js:35305:9)
+ at file:///home/runner/work/connect/connect/node_modules/vite/dist/node/chunks/config.js:25469:52
+ at Array.map (<anonymous>)
+ at _createServer (file:///home/runner/work/connect/connect/node_modules/vite/dist/node/chunks/config.js:25468:58)
+
+ Node.js v18.20.8
+
❯ tests/cli-source-widget.test.ts:266:28
|
|
tests/cli-source-widget.test.ts > scan source-widget integration > rejects a matching configured widget outside the global shell:
tests/cli-source-widget.test.ts#L251
AssertionError: expected 'file:///home/runner/work/connect/conn…' to contain 'outside the selected global shell'
- Expected
+ Received
- outside the selected global shell
+ file:///home/runner/work/connect/connect/node_modules/vite/dist/node/chunks/config.js:2444
+ const h = crypto.hash("sha256", text, "hex").substring(0, length);
+ ^
+
+ TypeError: crypto.hash is not a function
+ at getHash (file:///home/runner/work/connect/connect/node_modules/vite/dist/node/chunks/config.js:2444:19)
+ at getLockfileHash (file:///home/runner/work/connect/connect/node_modules/vite/dist/node/chunks/config.js:32463:9)
+ at getDepHash (file:///home/runner/work/connect/connect/node_modules/vite/dist/node/chunks/config.js:32466:23)
+ at initDepsOptimizerMetadata (file:///home/runner/work/connect/connect/node_modules/vite/dist/node/chunks/config.js:31925:53)
+ at createDepsOptimizer (file:///home/runner/work/connect/connect/node_modules/vite/dist/node/chunks/config.js:34113:17)
+ at new DevEnvironment (file:///home/runner/work/connect/connect/node_modules/vite/dist/node/chunks/config.js:34893:109)
+ at Object.defaultCreateClientDevEnvironment [as createEnvironment] (file:///home/runner/work/connect/connect/node_modules/vite/dist/node/chunks/config.js:35305:9)
+ at file:///home/runner/work/connect/connect/node_modules/vite/dist/node/chunks/config.js:25469:52
+ at Array.map (<anonymous>)
+ at _createServer (file:///home/runner/work/connect/connect/node_modules/vite/dist/node/chunks/config.js:25468:58)
+
+ Node.js v18.20.8
+
❯ tests/cli-source-widget.test.ts:251:28
|
|
tests/cli-source-widget.test.ts > scan source-widget integration > does not provision over a manual loader outside the selected global shell:
tests/cli-source-widget.test.ts#L233
AssertionError: expected 'file:///home/runner/work/connect/conn…' to contain 'outside the selected global shell'
- Expected
+ Received
- outside the selected global shell
+ file:///home/runner/work/connect/connect/node_modules/vite/dist/node/chunks/config.js:2444
+ const h = crypto.hash("sha256", text, "hex").substring(0, length);
+ ^
+
+ TypeError: crypto.hash is not a function
+ at getHash (file:///home/runner/work/connect/connect/node_modules/vite/dist/node/chunks/config.js:2444:19)
+ at getLockfileHash (file:///home/runner/work/connect/connect/node_modules/vite/dist/node/chunks/config.js:32463:9)
+ at getDepHash (file:///home/runner/work/connect/connect/node_modules/vite/dist/node/chunks/config.js:32466:23)
+ at initDepsOptimizerMetadata (file:///home/runner/work/connect/connect/node_modules/vite/dist/node/chunks/config.js:31925:53)
+ at createDepsOptimizer (file:///home/runner/work/connect/connect/node_modules/vite/dist/node/chunks/config.js:34113:17)
+ at new DevEnvironment (file:///home/runner/work/connect/connect/node_modules/vite/dist/node/chunks/config.js:34893:109)
+ at Object.defaultCreateClientDevEnvironment [as createEnvironment] (file:///home/runner/work/connect/connect/node_modules/vite/dist/node/chunks/config.js:35305:9)
+ at file:///home/runner/work/connect/connect/node_modules/vite/dist/node/chunks/config.js:25469:52
+ at Array.map (<anonymous>)
+ at _createServer (file:///home/runner/work/connect/connect/node_modules/vite/dist/node/chunks/config.js:25468:58)
+
+ Node.js v18.20.8
+
❯ tests/cli-source-widget.test.ts:233:28
|
|
tests/cli-source-widget.test.ts > scan source-widget integration > rejects ambiguous shells before posting for an already configured site:
tests/cli-source-widget.test.ts#L219
AssertionError: expected 'file:///home/runner/work/connect/conn…' to contain 'Multiple files could be the global ap…'
- Expected
+ Received
- Multiple files could be the global app shell
+ file:///home/runner/work/connect/connect/node_modules/vite/dist/node/chunks/config.js:2444
+ const h = crypto.hash("sha256", text, "hex").substring(0, length);
+ ^
+
+ TypeError: crypto.hash is not a function
+ at getHash (file:///home/runner/work/connect/connect/node_modules/vite/dist/node/chunks/config.js:2444:19)
+ at getLockfileHash (file:///home/runner/work/connect/connect/node_modules/vite/dist/node/chunks/config.js:32463:9)
+ at getDepHash (file:///home/runner/work/connect/connect/node_modules/vite/dist/node/chunks/config.js:32466:23)
+ at initDepsOptimizerMetadata (file:///home/runner/work/connect/connect/node_modules/vite/dist/node/chunks/config.js:31925:53)
+ at createDepsOptimizer (file:///home/runner/work/connect/connect/node_modules/vite/dist/node/chunks/config.js:34113:17)
+ at new DevEnvironment (file:///home/runner/work/connect/connect/node_modules/vite/dist/node/chunks/config.js:34893:109)
+ at Object.defaultCreateClientDevEnvironment [as createEnvironment] (file:///home/runner/work/connect/connect/node_modules/vite/dist/node/chunks/config.js:35305:9)
+ at file:///home/runner/work/connect/connect/node_modules/vite/dist/node/chunks/config.js:25469:52
+ at Array.map (<anonymous>)
+ at _createServer (file:///home/runner/work/connect/connect/node_modules/vite/dist/node/chunks/config.js:25468:58)
+
+ Node.js v18.20.8
+
❯ tests/cli-source-widget.test.ts:219:28
|
|
tests/cli-source-widget.test.ts > scan source-widget integration > does not provision when source-shell selection is ambiguous:
tests/cli-source-widget.test.ts#L203
AssertionError: expected 'file:///home/runner/work/connect/conn…' to contain 'Multiple files could be the global ap…'
- Expected
+ Received
- Multiple files could be the global app shell
+ file:///home/runner/work/connect/connect/node_modules/vite/dist/node/chunks/config.js:2444
+ const h = crypto.hash("sha256", text, "hex").substring(0, length);
+ ^
+
+ TypeError: crypto.hash is not a function
+ at getHash (file:///home/runner/work/connect/connect/node_modules/vite/dist/node/chunks/config.js:2444:19)
+ at getLockfileHash (file:///home/runner/work/connect/connect/node_modules/vite/dist/node/chunks/config.js:32463:9)
+ at getDepHash (file:///home/runner/work/connect/connect/node_modules/vite/dist/node/chunks/config.js:32466:23)
+ at initDepsOptimizerMetadata (file:///home/runner/work/connect/connect/node_modules/vite/dist/node/chunks/config.js:31925:53)
+ at createDepsOptimizer (file:///home/runner/work/connect/connect/node_modules/vite/dist/node/chunks/config.js:34113:17)
+ at new DevEnvironment (file:///home/runner/work/connect/connect/node_modules/vite/dist/node/chunks/config.js:34893:109)
+ at Object.defaultCreateClientDevEnvironment [as createEnvironment] (file:///home/runner/work/connect/connect/node_modules/vite/dist/node/chunks/config.js:35305:9)
+ at file:///home/runner/work/connect/connect/node_modules/vite/dist/node/chunks/config.js:25469:52
+ at Array.map (<anonymous>)
+ at _createServer (file:///home/runner/work/connect/connect/node_modules/vite/dist/node/chunks/config.js:25468:58)
+
+ Node.js v18.20.8
+
❯ tests/cli-source-widget.test.ts:203:28
|
|
tests/cli-source-widget.test.ts > scan source-widget integration > blocks a conflicting source widget identity before provisioning:
tests/cli-source-widget.test.ts#L188
AssertionError: expected 'file:///home/runner/work/connect/conn…' to contain 'CONFIG_INVALID'
- Expected
+ Received
- CONFIG_INVALID
+ file:///home/runner/work/connect/connect/node_modules/vite/dist/node/chunks/config.js:2444
+ const h = crypto.hash("sha256", text, "hex").substring(0, length);
+ ^
+
+ TypeError: crypto.hash is not a function
+ at getHash (file:///home/runner/work/connect/connect/node_modules/vite/dist/node/chunks/config.js:2444:19)
+ at getLockfileHash (file:///home/runner/work/connect/connect/node_modules/vite/dist/node/chunks/config.js:32463:9)
+ at getDepHash (file:///home/runner/work/connect/connect/node_modules/vite/dist/node/chunks/config.js:32466:23)
+ at initDepsOptimizerMetadata (file:///home/runner/work/connect/connect/node_modules/vite/dist/node/chunks/config.js:31925:53)
+ at createDepsOptimizer (file:///home/runner/work/connect/connect/node_modules/vite/dist/node/chunks/config.js:34113:17)
+ at new DevEnvironment (file:///home/runner/work/connect/connect/node_modules/vite/dist/node/chunks/config.js:34893:109)
+ at Object.defaultCreateClientDevEnvironment [as createEnvironment] (file:///home/runner/work/connect/connect/node_modules/vite/dist/node/chunks/config.js:35305:9)
+ at file:///home/runner/work/connect/connect/node_modules/vite/dist/node/chunks/config.js:25469:52
+ at Array.map (<anonymous>)
+ at _createServer (file:///home/runner/work/connect/connect/node_modules/vite/dist/node/chunks/config.js:25468:58)
+
+ Node.js v18.20.8
+
❯ tests/cli-source-widget.test.ts:188:28
|
|
tests/cli-source-widget.test.ts > scan source-widget integration > blocks a invalid source widget identity before provisioning:
tests/cli-source-widget.test.ts#L188
AssertionError: expected 'file:///home/runner/work/connect/conn…' to contain 'CONFIG_INVALID'
- Expected
+ Received
- CONFIG_INVALID
+ file:///home/runner/work/connect/connect/node_modules/vite/dist/node/chunks/config.js:2444
+ const h = crypto.hash("sha256", text, "hex").substring(0, length);
+ ^
+
+ TypeError: crypto.hash is not a function
+ at getHash (file:///home/runner/work/connect/connect/node_modules/vite/dist/node/chunks/config.js:2444:19)
+ at getLockfileHash (file:///home/runner/work/connect/connect/node_modules/vite/dist/node/chunks/config.js:32463:9)
+ at getDepHash (file:///home/runner/work/connect/connect/node_modules/vite/dist/node/chunks/config.js:32466:23)
+ at initDepsOptimizerMetadata (file:///home/runner/work/connect/connect/node_modules/vite/dist/node/chunks/config.js:31925:53)
+ at createDepsOptimizer (file:///home/runner/work/connect/connect/node_modules/vite/dist/node/chunks/config.js:34113:17)
+ at new DevEnvironment (file:///home/runner/work/connect/connect/node_modules/vite/dist/node/chunks/config.js:34893:109)
+ at Object.defaultCreateClientDevEnvironment [as createEnvironment] (file:///home/runner/work/connect/connect/node_modules/vite/dist/node/chunks/config.js:35305:9)
+ at file:///home/runner/work/connect/connect/node_modules/vite/dist/node/chunks/config.js:25469:52
+ at Array.map (<anonymous>)
+ at _createServer (file:///home/runner/work/connect/connect/node_modules/vite/dist/node/chunks/config.js:25468:58)
+
+ Node.js v18.20.8
+
❯ tests/cli-source-widget.test.ts:188:28
|
|
tests/cli-source-widget.test.ts > scan source-widget integration > blocks a dynamic source widget identity before provisioning:
tests/cli-source-widget.test.ts#L188
AssertionError: expected 'file:///home/runner/work/connect/conn…' to contain 'CONFIG_INVALID'
- Expected
+ Received
- CONFIG_INVALID
+ file:///home/runner/work/connect/connect/node_modules/vite/dist/node/chunks/config.js:2444
+ const h = crypto.hash("sha256", text, "hex").substring(0, length);
+ ^
+
+ TypeError: crypto.hash is not a function
+ at getHash (file:///home/runner/work/connect/connect/node_modules/vite/dist/node/chunks/config.js:2444:19)
+ at getLockfileHash (file:///home/runner/work/connect/connect/node_modules/vite/dist/node/chunks/config.js:32463:9)
+ at getDepHash (file:///home/runner/work/connect/connect/node_modules/vite/dist/node/chunks/config.js:32466:23)
+ at initDepsOptimizerMetadata (file:///home/runner/work/connect/connect/node_modules/vite/dist/node/chunks/config.js:31925:53)
+ at createDepsOptimizer (file:///home/runner/work/connect/connect/node_modules/vite/dist/node/chunks/config.js:34113:17)
+ at new DevEnvironment (file:///home/runner/work/connect/connect/node_modules/vite/dist/node/chunks/config.js:34893:109)
+ at Object.defaultCreateClientDevEnvironment [as createEnvironment] (file:///home/runner/work/connect/connect/node_modules/vite/dist/node/chunks/config.js:35305:9)
+ at file:///home/runner/work/connect/connect/node_modules/vite/dist/node/chunks/config.js:25469:52
+ at Array.map (<anonymous>)
+ at _createServer (file:///home/runner/work/connect/connect/node_modules/vite/dist/node/chunks/config.js:25468:58)
+
+ Node.js v18.20.8
+
❯ tests/cli-source-widget.test.ts:188:28
|
|
tests/cli-source-widget.test.ts > scan source-widget integration > blocks a unconfigured source widget identity before provisioning:
tests/cli-source-widget.test.ts#L188
AssertionError: expected 'file:///home/runner/work/connect/conn…' to contain 'CONFIG_INVALID'
- Expected
+ Received
- CONFIG_INVALID
+ file:///home/runner/work/connect/connect/node_modules/vite/dist/node/chunks/config.js:2444
+ const h = crypto.hash("sha256", text, "hex").substring(0, length);
+ ^
+
+ TypeError: crypto.hash is not a function
+ at getHash (file:///home/runner/work/connect/connect/node_modules/vite/dist/node/chunks/config.js:2444:19)
+ at getLockfileHash (file:///home/runner/work/connect/connect/node_modules/vite/dist/node/chunks/config.js:32463:9)
+ at getDepHash (file:///home/runner/work/connect/connect/node_modules/vite/dist/node/chunks/config.js:32466:23)
+ at initDepsOptimizerMetadata (file:///home/runner/work/connect/connect/node_modules/vite/dist/node/chunks/config.js:31925:53)
+ at createDepsOptimizer (file:///home/runner/work/connect/connect/node_modules/vite/dist/node/chunks/config.js:34113:17)
+ at new DevEnvironment (file:///home/runner/work/connect/connect/node_modules/vite/dist/node/chunks/config.js:34893:109)
+ at Object.defaultCreateClientDevEnvironment [as createEnvironment] (file:///home/runner/work/connect/connect/node_modules/vite/dist/node/chunks/config.js:35305:9)
+ at file:///home/runner/work/connect/connect/node_modules/vite/dist/node/chunks/config.js:25469:52
+ at Array.map (<anonymous>)
+ at _createServer (file:///home/runner/work/connect/connect/node_modules/vite/dist/node/chunks/config.js:25468:58)
+
+ Node.js v18.20.8
+
❯ tests/cli-source-widget.test.ts:188:28
|
|
tests/cli-source-widget.test.ts > scan source-widget integration > does not provision a UUID when there is no safe source shell for the widget:
tests/cli-source-widget.test.ts#L115
AssertionError: expected 'file:///home/runner/work/connect/conn…' to contain 'CONFIG_INVALID'
- Expected
+ Received
- CONFIG_INVALID
+ file:///home/runner/work/connect/connect/node_modules/vite/dist/node/chunks/config.js:2444
+ const h = crypto.hash("sha256", text, "hex").substring(0, length);
+ ^
+
+ TypeError: crypto.hash is not a function
+ at getHash (file:///home/runner/work/connect/connect/node_modules/vite/dist/node/chunks/config.js:2444:19)
+ at getLockfileHash (file:///home/runner/work/connect/connect/node_modules/vite/dist/node/chunks/config.js:32463:9)
+ at getDepHash (file:///home/runner/work/connect/connect/node_modules/vite/dist/node/chunks/config.js:32466:23)
+ at initDepsOptimizerMetadata (file:///home/runner/work/connect/connect/node_modules/vite/dist/node/chunks/config.js:31925:53)
+ at createDepsOptimizer (file:///home/runner/work/connect/connect/node_modules/vite/dist/node/chunks/config.js:34113:17)
+ at new DevEnvironment (file:///home/runner/work/connect/connect/node_modules/vite/dist/node/chunks/config.js:34893:109)
+ at Object.defaultCreateClientDevEnvironment [as createEnvironment] (file:///home/runner/work/connect/connect/node_modules/vite/dist/node/chunks/config.js:35305:9)
+ at file:///home/runner/work/connect/connect/node_modules/vite/dist/node/chunks/config.js:25469:52
+ at Array.map (<anonymous>)
+ at _createServer (file:///home/runner/work/connect/connect/node_modules/vite/dist/node/chunks/config.js:25468:58)
+
+ Node.js v18.20.8
+
❯ tests/cli-source-widget.test.ts:115:28
|
|
Production dependency audit
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v4, actions/setup-node@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
Validate on Node 18.x
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v4, actions/setup-node@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
Validate on Node 22.x
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v4, actions/setup-node@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
Validate on Node 20.x
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v4, actions/setup-node@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|