Skip to content

feat: use lambda for og export api #233

feat: use lambda for og export api

feat: use lambda for og export api #233

Triggered via pull request August 31, 2024 08:14
Status Failure
Total duration 47s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

9 errors and 3 warnings
typecheck
Argument of type 'LibSQLDatabase<Record<string, never>>' is not assignable to parameter of type 'BaseSQLiteDatabase<any, any, any, ExtractTablesWithRelations<any>>'.
typecheck
@ogstudio/auth#typecheck: command (/home/runner/work/ogstudio/ogstudio/packages/auth) /home/runner/setup-pnpm/node_modules/.bin/pnpm run typecheck exited (2)
typecheck
Process completed with exit code 2.
test
@ogstudio/dashboard#test: command (/home/runner/work/ogstudio/ogstudio/apps/dashboard) /home/runner/setup-pnpm/node_modules/.bin/pnpm run test run exited (1)
src/lib/__tests__/export.test.ts > exportToPng > should export a basic rectangle to png: node_modules/.pnpm/@[email protected]/node_modules/@resvg/resvg-wasm/index.mjs#L395
TypeError: WebAssembly.instantiate(): Argument 0 must be a buffer source ❯ load ../../node_modules/.pnpm/@resvg[email protected]/node_modules/@resvg/resvg-wasm/index.mjs:395:40 ❯ init ../../node_modules/.pnpm/@resvg[email protected]/node_modules/@resvg/resvg-wasm/index.mjs:489:38 ❯ Module.initWasm ../../node_modules/.pnpm/@resvg[email protected]/node_modules/@resvg/resvg-wasm/index.mjs:500:3 ❯ Module.exportToPng src/lib/export.ts:138:3 ❯ src/lib/__tests__/export.test.ts:186:17
src/lib/__tests__/export.test.ts > renderToImg > should render to a base64 data url: apps/dashboard/src/lib/__tests__/export.test.ts#L236
Error: Snapshot `renderToImg > should render to a base64 data url 1` mismatched - Expected + Received - "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTIwMCIgaGVpZ2h0PSI2MzAiIHZpZXdCb3g9IjAgMCAxMjAwIDYzMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48bWFzayBpZD0ic2F0b3JpX29tLWlkIj48cmVjdCB4PSIwIiB5PSIwI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IDM5LjlRNDkuMiAzOS45IDUwLjYgMzkuNFE1MS45IDM4LjkgNTIuOCAzOC4wUTUzLjggMzcuMSA1NC4zIDM1LjdMNTQuMyAzNS43TDU4LjUgMzYuOFE1Ny45IDM4LjkgNTYuNCA0MC41UTU0LjkgNDIuMCA1Mi42IDQyLjlRNTAuNCA0My44IDQ3LjYgNDMuOFpNMzkuMyAyNy4zTDM5LjMgMjcuM0w1NC41IDI3LjNRNTQuMyAyNS41IDUzLjcgMjMuOUw1My43IDIzLjlRNTIuOSAyMS44IDUxLjIgMjAuNlE0OS42IDE5LjUgNDcuMSAxOS41UTQ0LjYgMTkuNSA0Mi45IDIwLjdRNDEuMSAyMS45IDQwLjIgMjMuOEw0MC4yIDIzLjhRMzkuNCAyNS41IDM5LjMgMjcuM1pNNjguMSA0My4yTDYzLjAgNDMuMkw3Mi42IDI5LjJMNjMuNiAxNS45TDY4LjcgMTUuOUw3Mi4xIDIxLjJRNzMuNCAyMy4yIDc0LjQgMjUuMEw3NC40IDI1LjBRNzQuOCAyNS44IDc1LjIgMjYuNUw3NS4yIDI2LjVRNzUuNiAyNS44IDc2LjAgMjUuMEw3Ni4wIDI1
test
Process completed with exit code 1.
lint
@ogstudio/dashboard#lint: command (/home/runner/work/ogstudio/ogstudio/apps/dashboard) /home/runner/setup-pnpm/node_modules/.bin/pnpm run lint exited (1)
lint
Process completed with exit code 1.
typecheck
The following actions use a deprecated Node.js version and will be forced to run on node20: pnpm/action-setup@v2, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
test
The following actions use a deprecated Node.js version and will be forced to run on node20: pnpm/action-setup@v2, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
lint
The following actions use a deprecated Node.js version and will be forced to run on node20: pnpm/action-setup@v2, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/