Skip to content

Support TypeScript plugins in find plugin manager via esbuild #469

Support TypeScript plugins in find plugin manager via esbuild

Support TypeScript plugins in find plugin manager via esbuild #469

Triggered via pull request April 20, 2026 16:54
Status Failure
Total duration 5m 33s
Artifacts

test.yml

on: pull_request
Matrix: Test
Fit to window
Zoom out
Zoom in

Annotations

8 errors
Test (sites/site-with-errors)
Process completed with exit code 1.
.github/actions/find/tests/pluginManager.test.ts: .github/actions/find/tests/pluginManager.test.ts#L4
Error: Cannot find package 'esbuild' imported from /home/runner/work/accessibility-scanner/accessibility-scanner/.github/actions/find/tests/pluginManager.test.ts ❯ .github/actions/find/tests/pluginManager.test.ts:4:1 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'ERR_MODULE_NOT_FOUND' }
.github/actions/find/tests/findForUrl.test.ts: .github/actions/find/src/pluginManager/pluginFileLoaders.ts#L3
Error: Cannot find package 'esbuild' imported from /home/runner/work/accessibility-scanner/accessibility-scanner/.github/actions/find/src/pluginManager/pluginFileLoaders.ts ❯ .github/actions/find/src/pluginManager/pluginFileLoaders.ts:3:1 ❯ .github/actions/find/src/pluginManager/index.ts:5:1 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'ERR_MODULE_NOT_FOUND' }
tests/site-with-errors.test.ts > site-with-errors > issues > issues exist and have expected title, state, and assignee: tests/site-with-errors.test.ts#L166
AssertionError: expected [ …(6) ] to have a length of 7 but got 6 - Expected + Received - 7 + 6 ❯ tests/site-with-errors.test.ts:166:28
tests/site-with-errors.test.ts > site-with-errors > cache has expected results: tests/site-with-errors.test.ts#L124
AssertionError: expected [ { scannerType: 'axe', …(5) }, …(5) ] to have a length of 7 but got 6 - Expected + Received - 7 + 6 ❯ tests/site-with-errors.test.ts:124:20
Test (sites/site-with-errors)
There was an error while loading plugins. Clearing all plugins and aborting custom plugin scans. Please check the logs for hints as to what may have gone wrong.
Test (sites/site-with-errors)
Error: ENOENT: no such file or directory, scandir '/home/runner/work/_actions/github/accessibility-scanner/current/.github/actions/scanner-plugins/'
Test (sites/site-with-errors)
error: