Skip to content

Bump the npm-dependencies group across 1 directory with 17 updates #435

Bump the npm-dependencies group across 1 directory with 17 updates

Bump the npm-dependencies group across 1 directory with 17 updates #435

Triggered via pull request April 18, 2026 12:32
Status Failure
Total duration 15m 37s
Artifacts

test.yml

on: pull_request
Hotfix Bypass
Hotfix Bypass
Fit to window
Zoom out
Zoom in

Annotations

9 errors
Unit Tests
Process completed with exit code 1.
src/actions/utils/email/__tests__/templateCompiler.spec.ts > compileEmailTemplate > throws ActionsFunctionError when MJML compilation reports errors: src/actions/utils/email/__tests__/templateCompiler.spec.ts#L94
AssertionError: expected ActionsFunctionError: Failed to render em… { …(12) } to match object { …(6) } (9 matching properties omitted from actual) - Expected + Received - { - "appCode": "EMAIL_TEMPLATE_COMPILE_FAILED", + ActionsFunctionError { + "appCode": "EMAIL_TEMPLATE_RENDER_FAILED", "details": { - "templatePath": "src/actions/utils/email/__fixtures__/invalid.mjml", + "templatePath": "/home/runner/work/astro.webstackbuilders.com/astro.webstackbuilders.com/src/actions/utils/email/__fixtures__/invalid.mjml", }, - "name": "ActionsFunctionError", "operation": "compileEmailTemplate", "route": "actions:utils:email", "status": 500, } ❯ src/actions/utils/email/__tests__/templateCompiler.spec.ts:94:55
src/actions/utils/email/__tests__/templateCompiler.spec.ts > compileEmailTemplate > injects common contact data and resolves relative nunjucks imports: src/actions/utils/email/templateCompiler.ts#L271
ActionsFunctionError: Failed to render email template. ❯ compileEmailTemplate src/actions/utils/email/templateCompiler.ts:271:11 ❯ src/actions/utils/email/__tests__/templateCompiler.spec.ts:78:20 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'INTERNAL_SERVER_ERROR', status: 500, isClientError: false, isServerError: true, retryable: true, appCode: 'EMAIL_TEMPLATE_RENDER_FAILED', route: 'actions:utils:email', operation: 'compileEmailTemplate', requestId: undefined, correlationId: undefined, details: { templatePath: '/home/runner/work/astro.webstackbuilders.com/astro.webstackbuilders.com/src/actions/utils/email/__fixtures__/with-common-data.mjml' }, toParams: 'Function<toParams>', getSafeMessage: 'Function<getSafeMessage>' }
src/actions/utils/email/__tests__/templateCompiler.spec.ts > compileEmailTemplate > renders nunjucks data, supports mj-include, and returns html and plain text: src/actions/utils/email/templateCompiler.ts#L271
ActionsFunctionError: Failed to render email template. ❯ compileEmailTemplate src/actions/utils/email/templateCompiler.ts:271:11 ❯ src/actions/utils/email/__tests__/templateCompiler.spec.ts:58:20 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'INTERNAL_SERVER_ERROR', status: 500, isClientError: false, isServerError: true, retryable: true, appCode: 'EMAIL_TEMPLATE_RENDER_FAILED', route: 'actions:utils:email', operation: 'compileEmailTemplate', requestId: undefined, correlationId: undefined, details: { templatePath: '/home/runner/work/astro.webstackbuilders.com/astro.webstackbuilders.com/src/actions/utils/email/__fixtures__/example.mjml' }, toParams: 'Function<toParams>', getSafeMessage: 'Function<getSafeMessage>' }
src/actions/utils/email/__tests__/templateCompiler.spec.ts > compileEmailTemplate > compiles the moved contact message template from its imported source: src/actions/utils/email/templateCompiler.ts#L271
ActionsFunctionError: Failed to render email template. ❯ compileEmailTemplate src/actions/utils/email/templateCompiler.ts:271:11 ❯ src/actions/utils/email/__tests__/templateCompiler.spec.ts:33:20 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'INTERNAL_SERVER_ERROR', status: 500, isClientError: false, isServerError: true, retryable: true, appCode: 'EMAIL_TEMPLATE_RENDER_FAILED', route: 'actions:utils:email', operation: 'compileEmailTemplate', requestId: undefined, correlationId: undefined, details: { templatePath: '/home/runner/work/astro.webstackbuilders.com/astro.webstackbuilders.com/src/actions/contact/email/message.mjml' }, toParams: 'Function<toParams>', getSafeMessage: 'Function<getSafeMessage>' }
src/actions/newsletter/entities/__tests__/email.spec.ts > newsletter email entity > throws ActionsFunctionError when Resend returns an error in prod: src/actions/newsletter/entities/__tests__/email.spec.ts#L70
AssertionError: expected ActionsFunctionError: Failed to render em… { …(12) } to match object { name: 'ActionsFunctionError', …(1) } (13 matching properties omitted from actual) - Expected + Received - { - "name": "ActionsFunctionError", - "status": 502, + ActionsFunctionError { + "status": 500, } ❯ src/actions/newsletter/entities/__tests__/email.spec.ts:70:82
src/actions/contact/__tests__/responder.spec.ts > contact responder > generateEmailContent > generates acknowledgement email HTML with reply instructions: src/actions/utils/email/templateCompiler.ts#L271
ActionsFunctionError: Failed to render email template. ❯ compileEmailTemplate src/actions/utils/email/templateCompiler.ts:271:11 ❯ generateAcknowledgementEmailContent src/actions/contact/responder.ts:166:20 ❯ src/actions/contact/__tests__/responder.spec.ts:136:20 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'INTERNAL_SERVER_ERROR', status: 500, isClientError: false, isServerError: true, retryable: true, appCode: 'EMAIL_TEMPLATE_RENDER_FAILED', route: 'actions:utils:email', operation: 'compileEmailTemplate', requestId: undefined, correlationId: undefined, details: { templatePath: '/home/runner/work/astro.webstackbuilders.com/astro.webstackbuilders.com/src/actions/contact/email/acknowledgement.mjml' }, toParams: 'Function<toParams>', getSafeMessage: 'Function<getSafeMessage>' }
src/actions/contact/__tests__/responder.spec.ts > contact responder > generateEmailContent > renders attachments section when attachments exist: src/actions/utils/email/templateCompiler.ts#L271
ActionsFunctionError: Failed to render email template. ❯ compileEmailTemplate src/actions/utils/email/templateCompiler.ts:271:11 ❯ generateEmailContent src/actions/contact/responder.ts:151:20 ❯ src/actions/contact/__tests__/responder.spec.ts:57:20 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'INTERNAL_SERVER_ERROR', status: 500, isClientError: false, isServerError: true, retryable: true, appCode: 'EMAIL_TEMPLATE_RENDER_FAILED', route: 'actions:utils:email', operation: 'compileEmailTemplate', requestId: undefined, correlationId: undefined, details: { templatePath: '/home/runner/work/astro.webstackbuilders.com/astro.webstackbuilders.com/src/actions/contact/email/message.mjml' }, toParams: 'Function<toParams>', getSafeMessage: 'Function<getSafeMessage>' }
src/actions/contact/__tests__/responder.spec.ts > contact responder > generateEmailContent > generates valid HTML with required elements: src/actions/utils/email/templateCompiler.ts#L271
ActionsFunctionError: Failed to render email template. ❯ compileEmailTemplate src/actions/utils/email/templateCompiler.ts:271:11 ❯ generateEmailContent src/actions/contact/responder.ts:151:20 ❯ src/actions/contact/__tests__/responder.spec.ts:16:20 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'INTERNAL_SERVER_ERROR', status: 500, isClientError: false, isServerError: true, retryable: true, appCode: 'EMAIL_TEMPLATE_RENDER_FAILED', route: 'actions:utils:email', operation: 'compileEmailTemplate', requestId: undefined, correlationId: undefined, details: { templatePath: '/home/runner/work/astro.webstackbuilders.com/astro.webstackbuilders.com/src/actions/contact/email/message.mjml' }, toParams: 'Function<toParams>', getSafeMessage: 'Function<getSafeMessage>' }