Skip to content

Sqlocal + Drizzle

Sqlocal + Drizzle #11

Triggered via pull request May 19, 2024 09:38
@codewithcheesecodewithcheese
synchronize #6
sqlocal
Status Failure
Total duration 42s
Artifacts

ci.yml

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

Annotations

5 errors and 1 warning
test/drizzle.test.ts: test/drizzle.test.ts#L8
ReferenceError: Worker is not defined ❯ new SQLocal node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/sqlocal/src/client.ts:35:21 ❯ new SQLocalDrizzle node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/sqlocal/dist/drizzle/client.js:4:9 ❯ test/drizzle.test.ts:8:40
test/migrator.test.ts > drizzle migrations > should run migrations: src/database/client.ts#L11
ReferenceError: Worker is not defined ❯ new SQLocal node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/sqlocal/src/client.ts:35:21 ❯ new SQLocalDrizzle node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/sqlocal/dist/drizzle/client.js:4:9 ❯ Module.useDb src/database/client.ts:11:37 ❯ Module.runMigrations src/database/migrator.ts:16:37 ❯ test/migrator.test.ts:6:11
test/registry.test.ts: node_modules/.pnpm/@[email protected]_@[email protected][email protected][email protected]/node_modules/@sveltejs/kit/src/runtime/client/fetcher.js#L11
ReferenceError: window is not defined ❯ node_modules/.pnpm/@sveltejs[email protected]_@[email protected][email protected][email protected]/node_modules/@sveltejs/kit/src/runtime/client/fetcher.js:11:54 ❯ node_modules/.pnpm/@sveltejs[email protected]_@[email protected][email protected][email protected]/node_modules/@sveltejs/kit/src/runtime/client/client.js:4:31
test/sqlocal.test.ts: test/sqlocal.test.ts#L5
ReferenceError: Worker is not defined ❯ new SQLocal node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/sqlocal/src/client.ts:35:21 ❯ test/sqlocal.test.ts:5:19
Tests (20, ubuntu-latest)
Process completed with exit code 1.
Tests (20, ubuntu-latest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.