Skip to content

feat(cli): add unattended mode flag to sanity undeploy #28423

feat(cli): add unattended mode flag to sanity undeploy

feat(cli): add unattended mode flag to sanity undeploy #28423

Triggered via pull request December 22, 2024 19:18
Status Failure
Total duration 2m 46s
Artifacts

test.yml

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

Annotations

8 errors and 8 warnings
actions/deploy/__tests__/undeployAction.test.ts > undeployStudioAction > prompts the user for confirmation and undeploys if confirmed: packages/sanity/src/_internal/cli/actions/deploy/undeployAction.ts#L50
TypeError: Cannot read properties of undefined (reading 'yes') ❯ Module.undeployStudioAction [as default] actions/deploy/undeployAction.ts:50:40 ❯ actions/deploy/__tests__/undeployAction.test.ts:78:5
actions/deploy/__tests__/undeployAction.test.ts > undeployStudioAction > does not undeploy if the user cancels the prompt: packages/sanity/src/_internal/cli/actions/deploy/undeployAction.ts#L50
TypeError: Cannot read properties of undefined (reading 'yes') ❯ Module.undeployStudioAction [as default] actions/deploy/undeployAction.ts:50:40 ❯ actions/deploy/__tests__/undeployAction.test.ts:100:5
actions/deploy/__tests__/undeployAction.test.ts > undeployStudioAction > handles errors during the undeploy process: packages/sanity/src/_internal/cli/actions/deploy/__tests__/undeployAction.test.ts#L144
AssertionError: expected [Function] to throw error including 'Example error' but got 'Cannot read properties of undefined (…' Expected: "Example error" Received: "Cannot read properties of undefined (reading 'yes')" ❯ actions/deploy/__tests__/undeployAction.test.ts:144:5
Test (ubuntu-latest / node 20)
Process completed with exit code 1.
actions/deploy/__tests__/undeployAction.test.ts > undeployStudioAction > prompts the user for confirmation and undeploys if confirmed: packages/sanity/src/_internal/cli/actions/deploy/undeployAction.ts#L50
TypeError: Cannot read properties of undefined (reading 'yes') ❯ Module.undeployStudioAction [as default] actions/deploy/undeployAction.ts:50:40 ❯ actions/deploy/__tests__/undeployAction.test.ts:78:5
actions/deploy/__tests__/undeployAction.test.ts > undeployStudioAction > does not undeploy if the user cancels the prompt: packages/sanity/src/_internal/cli/actions/deploy/undeployAction.ts#L50
TypeError: Cannot read properties of undefined (reading 'yes') ❯ Module.undeployStudioAction [as default] actions/deploy/undeployAction.ts:50:40 ❯ actions/deploy/__tests__/undeployAction.test.ts:100:5
actions/deploy/__tests__/undeployAction.test.ts > undeployStudioAction > handles errors during the undeploy process: packages/sanity/src/_internal/cli/actions/deploy/__tests__/undeployAction.test.ts#L144
AssertionError: expected [Function] to throw error including 'Example error' but got 'Cannot read properties of undefined (…' Expected: "Example error" Received: "Cannot read properties of undefined (reading 'yes')" ❯ actions/deploy/__tests__/undeployAction.test.ts:144:5
Test (ubuntu-latest / node 18)
Process completed with exit code 1.
Test (ubuntu-latest / node 20)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Test (ubuntu-latest / node 18)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Test (ubuntu-latest / node 20)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Test (ubuntu-latest / node 20)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Test (ubuntu-latest / node 18)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Test (ubuntu-latest / node 18)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Test (ubuntu-latest / node 20)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Test (ubuntu-latest / node 18)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636