Skip to content

Fix vitest config deprecation for v4 #2

Fix vitest config deprecation for v4

Fix vitest config deprecation for v4 #2

Triggered via push June 22, 2026 19:27
Status Failure
Total duration 19s
Artifacts

ci.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 1 warning
test
Process completed with exit code 1.
tests/status.test.ts > auth errors > exits with error when no API key configured: tests/status.test.ts#L82
AssertionError: expected 'npm warn exec The following package w…' to contain 'No API key' - Expected + Received - No API key + npm warn exec The following package was not found and will be installed: tsx@4.22.4 + npm error code ENOENT + npm error syscall chmod + npm error path /home/runner/.npm/_npx/fd45a72a545557e9/node_modules/esbuild/bin/esbuild + npm error errno -2 + npm error enoent ENOENT: no such file or directory, chmod '/home/runner/.npm/_npx/fd45a72a545557e9/node_modules/esbuild/bin/esbuild' + npm error enoent This is related to npm not being able to find a file. + npm error enoent + npm error A complete log of this run can be found in: /home/runner/.npm/_logs/2026-06-22T19_27_13_167Z-debug-0.log ❯ tests/status.test.ts:82:20
tests/config.test.ts > config commands > config set api-url saves custom URL: tests/config.test.ts#L29
Error: Command failed: npx tsx src/index.ts config set api-url https://custom.example.com npm warn exec The following package was not found and will be installed: tsx@4.22.4 npm error code ENOTEMPTY npm error syscall rename npm error path /home/runner/.npm/_npx/fd45a72a545557e9/node_modules/tsx npm error dest /home/runner/.npm/_npx/fd45a72a545557e9/node_modules/.tsx-zzH7V4PJ npm error errno -39 npm error ENOTEMPTY: directory not empty, rename '/home/runner/.npm/_npx/fd45a72a545557e9/node_modules/tsx' -> '/home/runner/.npm/_npx/fd45a72a545557e9/node_modules/.tsx-zzH7V4PJ' npm error A complete log of this run can be found in: /home/runner/.npm/_logs/2026-06-22T19_27_14_971Z-debug-0.log ❯ run tests/config.test.ts:29:10 ❯ tests/config.test.ts:60:5 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { status: 217, signal: null, output: [ null, '', 'npm warn exec The following package was not found and will be installed: tsx@4.22.4\nnpm error code ENOTEMPTY\nnpm error syscall rename\nnpm error path /home/runner/.npm/_npx/fd45a72a545557e9/node_modules/tsx\nnpm error dest /home/runner/.npm/_npx/fd45a72a545557e9/node_modules/.tsx-zzH7V4PJ\nnpm error errno -39\nnpm error ENOTEMPTY: directory not empty, rename \'/home/runner/.npm/_npx/fd45a72a545557e9/node_modules/tsx\' -> \'/home/runner/.npm/_npx/fd45a72a545557e9/node_modules/.tsx-zzH7V4PJ\'\nnpm error A complete log of this run can be found in: /home/runner/.npm/_logs/2026-06-22T19_27_14_971Z-debug-0.log\n' ], pid: 2408, stdout: '', stderr: 'npm warn exec The following package was not found and will be installed: tsx@4.22.4\nnpm error code ENOTEMPTY\nnpm error syscall rename\nnpm error path /home/runner/.npm/_npx/fd45a72a545557e9/node_modules/tsx\nnpm error dest /home/runner/.npm/_npx/fd45a72a545557e9/node_modules/.tsx-zzH7V4PJ\nnpm error errno -39\nnpm error ENOTEMPTY: directory not empty, rename \'/home/runner/.npm/_npx/fd45a72a545557e9/node_modules/tsx\' -> \'/home/runner/.npm/_npx/fd45a72a545557e9/node_modules/.tsx-zzH7V4PJ\'\nnpm error A complete log of this run can be found in: /home/runner/.npm/_logs/2026-06-22T19_27_14_971Z-debug-0.log\n' }
tests/config.test.ts > config commands > config set api-key saves and config show displays it: tests/config.test.ts#L29
Error: Command failed: npx tsx src/index.ts config set api-key rdr_test_key_abcd1234 npm warn exec The following package was not found and will be installed: tsx@4.22.4 npm warn tar ENOENT: Cannot cd into '/home/runner/.npm/_npx/fd45a72a545557e9/node_modules/esbuild' npm warn tar ENOENT: Cannot cd into '/home/runner/.npm/_npx/fd45a72a545557e9/node_modules/@esbuild/linux-x64' npm warn tar ENOENT: Cannot cd into '/home/runner/.npm/_npx/fd45a72a545557e9/node_modules/esbuild' npm warn tarball tarball data for esbuild@https://registry.npmjs.org/esbuild/-/esbuild-0.28.1.tgz (sha512-HrJrvZv5ayxBzPfwphOoNzkzOIIlifzk0KJrGK2c8R4+LKpMtpYLQeUdjnwjWv/LZlkH2laZk+4w78pi99D4Vw==) seems to be corrupted. Trying again. npm warn tarball tarball data for esbuild@https://registry.npmjs.org/esbuild/-/esbuild-0.28.1.tgz (sha512-HrJrvZv5ayxBzPfwphOoNzkzOIIlifzk0KJrGK2c8R4+LKpMtpYLQeUdjnwjWv/LZlkH2laZk+4w78pi99D4Vw==) seems to be corrupted. Trying again. npm warn tar ENOENT: Cannot cd into '/home/runner/.npm/_npx/fd45a72a545557e9/node_modules/@esbuild/linux-x64' npm warn tarball tarball data for @esbuild/linux-x64@https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.28.1.tgz (sha512-u/anNYF2mmVOEDwLtnQ1wOr3EZ9sTNGLWrsYGYwHWzGA3Si84IOkHXlbWTD1NB+9/1lcnweYKO54uhxZydNzfA==) seems to be corrupted. Trying again. npm warn tarball tarball data for @esbuild/linux-x64@https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.28.1.tgz (sha512-u/anNYF2mmVOEDwLtnQ1wOr3EZ9sTNGLWrsYGYwHWzGA3Si84IOkHXlbWTD1NB+9/1lcnweYKO54uhxZydNzfA==) seems to be corrupted. Trying again. npm error code ENOENT npm error syscall stat npm error path /home/runner/.npm/_cacache/content-v2/sha512/1e/b2/6bbd9bf96b2c41ccf7f0a613a837393338822589fce4d0a26b18ad9cf11e3e2caa4cb6960b41e51d8e7c235affcb665907da569993ee30efca62f7d0f857 npm error errno -2 npm error enoent ENOENT: no such file or directory, stat '/home/runner/.npm/_cacache/content-v2/sha512/1e/b2/6bbd9bf96b2c41ccf7f0a613a837393338822589fce4d0a26b18ad9cf11e3e2caa4cb6960b41e51d8e7c235affcb665907da569993ee30efca62f7d0f857' npm error enoent This is related to npm not being able to find a file. npm error enoent npm error A complete log of this run can be found in: /home/runner/.npm/_logs/2026-06-22T19_27_13_137Z-debug-0.log ❯ run tests/config.test.ts:29:10 ❯ tests/config.test.ts:53:5 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { status: 254, signal: null, output: [ null, '', 'npm warn exec The following package was not found and will be installed: tsx@4.22.4\nnpm warn tar ENOENT: Cannot cd into \'/home/runner/.npm/_npx/fd45a72a545557e9/node_modules/esbuild\'\nnpm warn tar ENOENT: Cannot cd into \'/home/runner/.npm/_npx/fd45a72a545557e9/node_modules/@esbuild/linux-x64\'\nnpm warn tar ENOENT: Cannot cd into \'/home/runner/.npm/_npx/fd45a72a545557e9/node_modules/esbuild\'\nnpm warn tarball tarball data for esbuild@https://registry.npmjs.org/esbuild/-/esbuild-0.28.1.tgz (sha512-HrJrvZv5ayxBzPfwphOoNzkzOIIlifzk0KJrGK2c8R4+LKpMtpYLQeUdjnwjWv/LZlkH2laZk+4w78pi99D4Vw==) seems to be corrupted. Trying again.\nnpm warn tarball tarball data for esbuild@https://registry.npmjs.org/esbuild/-/esbuild-0.28.1.tgz (sha512-HrJrvZv5ayxBzPfwphOoNzkzOIIlifzk0KJrGK2c8R4+LKpMtpYLQeUdjnwjWv/LZlkH2laZk+4w78pi99D4Vw==) seems to be corrupted. Trying again.\nnpm warn tar ENOENT: Cannot cd into \'/home/runner/.npm/_npx/fd45a72a545557e9/node_modules/@esbuild/linux-x64\'\nnpm warn tarball tarball data for @esbuild/linux-x64@https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.28.1.tgz (sha512-u/anNYF2mmVOEDwLtnQ1wOr3EZ9sTNGLWrsYGYwHWzGA3Si84IOkHXlbWTD1NB+9/1lcnweYKO54uhxZydNzfA==) seems to be corrupted. Trying again.\nnpm warn tarball tarball data for @esbuild/linux-x64@https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.28.1.tgz (sha512-u/anNYF2mmVOEDwLtnQ1wOr3EZ9sTNGLWrsYGYwHWzGA3Si84IOkHXlbWTD1NB+9/1lcnweYKO54uhxZydNzfA==) seems to be corrupted. Trying again.\nnpm error code ENOENT\nnpm error syscall stat\nnpm error path /home/runner/.npm/_cacache/content-v2/sha512/1e
test
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/