Skip to content

fix(deps): update dependency @portabletext/editor to ^1.18.1 #12951

fix(deps): update dependency @portabletext/editor to ^1.18.1

fix(deps): update dependency @portabletext/editor to ^1.18.1 #12951

Triggered via pull request December 19, 2024 09:23
Status Failure
Total duration 3m 28s
Artifacts

cli-test.yml

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

Annotations

4 errors and 2 warnings
test/init.test.ts > CLI: `sanity init v3` > remote templates > initializes a project from a GitHub repository shorthand: packages/@sanity/cli/test/shared/environment.ts#L164
ExecError: Command failed: Exit code: 1 Command: /opt/hostedtoolcache/node/20.18.1/x64/bin/node /tmp/sanity-cli-test/install/node_modules/.bin/sanity init --y --project 1d4femd5 --dataset test-173460027-lin-v20-gh-2818-12951-1-v3 --template sanity-io/sanity/packages/@sanity/cli/test/test-template --output-path /tmp/sanity-cli-test/test-remote-template-shorthand --package-manager manual CWD: /tmp/sanity-cli-test/studios/v3 --- stderr --- [WARN] Running in staging environment mode Error: GitHub repository not found. For private repositories, use --template-token to provide an access token. You can generate a new token at https://github.com/settings/personal-access-tokens/new Set the token to "read-only" with repository access and a short expiry (e.g. 7 days) for security. at getGitHubRepoInfo (~/work/sanity/sanity/packages/@sanity/cli/lib/_chunks-cjs/cli.js:26666:11) at async initSanity (~/work/sanity/sanity/packages/@sanity/cli/lib/_chunks-cjs/cli.js:52444:90) -------------- ❯ getGitHubRepoInfo ../../../~/work/sanity/sanity/packages/@sanity/cli/lib/_chunks-cjs/cli.js:26666:11 ❯ initSanity ../../../~/work/sanity/sanity/packages/@sanity/cli/lib/_chunks-cjs/cli.js:52444:90 ❯ ChildProcess.<anonymous> test/shared/environment.ts:164:11 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 1, stdout: '', stderr: '[WARN] Running in staging environment mode\n\n\nError: GitHub repository not found. For private repositories, use --template-token to provide an access token.\nYou can generate a new token at https://github.com/settings/personal-access-tokens/new\nSet the token to "read-only" with repository access and a short expiry (e.g. 7 days) for security.\n at getGitHubRepoInfo (~/work/sanity/sanity/packages/@sanity/cli/lib/_chunks-cjs/cli.js:26666:11)\n at async initSanity (~/work/sanity/sanity/packages/@sanity/cli/lib/_chunks-cjs/cli.js:52444:90)\n' }
test/init.test.ts > CLI: `sanity init v3` > remote templates > initializes a project from a GitHub URL: packages/@sanity/cli/test/shared/environment.ts#L164
ExecError: Command failed: Exit code: 1 Command: /opt/hostedtoolcache/node/20.18.1/x64/bin/node /tmp/sanity-cli-test/install/node_modules/.bin/sanity init --y --project 1d4femd5 --dataset test-173460027-lin-v20-gh-2818-12951-1-v3 --template https://github.com/sanity-io/sanity/tree/next/packages/@sanity/cli/test/test-template --output-path /tmp/sanity-cli-test/test-remote-template-url --package-manager manual CWD: /tmp/sanity-cli-test/studios/v3 --- stderr --- [WARN] Running in staging environment mode Error: GitHub repository not found. For private repositories, use --template-token to provide an access token. You can generate a new token at https://github.com/settings/personal-access-tokens/new Set the token to "read-only" with repository access and a short expiry (e.g. 7 days) for security. at getGitHubRepoInfo (~/work/sanity/sanity/packages/@sanity/cli/lib/_chunks-cjs/cli.js:26666:11) at async initSanity (~/work/sanity/sanity/packages/@sanity/cli/lib/_chunks-cjs/cli.js:52444:90) -------------- ❯ getGitHubRepoInfo ../../../~/work/sanity/sanity/packages/@sanity/cli/lib/_chunks-cjs/cli.js:26666:11 ❯ initSanity ../../../~/work/sanity/sanity/packages/@sanity/cli/lib/_chunks-cjs/cli.js:52444:90 ❯ ChildProcess.<anonymous> test/shared/environment.ts:164:11 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 1, stdout: '', stderr: '[WARN] Running in staging environment mode\n\n\nError: GitHub repository not found. For private repositories, use --template-token to provide an access token.\nYou can generate a new token at https://github.com/settings/personal-access-tokens/new\nSet the token to "read-only" with repository access and a short expiry (e.g. 7 days) for security.\n at getGitHubRepoInfo (~/work/sanity/sanity/packages/@sanity/cli/lib/_chunks-cjs/cli.js:26666:11)\n at async initSanity (~/work/sanity/sanity/packages/@sanity/cli/lib/_chunks-cjs/cli.js:52444:90)\n' }
test/init.test.ts > CLI: `sanity init v3` > remote templates > correctly applies environment variables: packages/@sanity/cli/test/shared/environment.ts#L164
ExecError: Command failed: Exit code: 1 Command: /opt/hostedtoolcache/node/20.18.1/x64/bin/node /tmp/sanity-cli-test/install/node_modules/.bin/sanity init --y --project 1d4femd5 --dataset test-173460027-lin-v20-gh-2818-12951-1-v3 --template sanity-io/sanity/packages/@sanity/cli/test/test-template --output-path /tmp/sanity-cli-test/test-remote-template-env --package-manager manual CWD: /tmp/sanity-cli-test/studios/v3 --- stderr --- [WARN] Running in staging environment mode Error: GitHub repository not found. For private repositories, use --template-token to provide an access token. You can generate a new token at https://github.com/settings/personal-access-tokens/new Set the token to "read-only" with repository access and a short expiry (e.g. 7 days) for security. at getGitHubRepoInfo (~/work/sanity/sanity/packages/@sanity/cli/lib/_chunks-cjs/cli.js:26666:11) at async initSanity (~/work/sanity/sanity/packages/@sanity/cli/lib/_chunks-cjs/cli.js:52444:90) -------------- ❯ getGitHubRepoInfo ../../../~/work/sanity/sanity/packages/@sanity/cli/lib/_chunks-cjs/cli.js:26666:11 ❯ initSanity ../../../~/work/sanity/sanity/packages/@sanity/cli/lib/_chunks-cjs/cli.js:52444:90 ❯ ChildProcess.<anonymous> test/shared/environment.ts:164:11 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 1, stdout: '', stderr: '[WARN] Running in staging environment mode\n\n\nError: GitHub repository not found. For private repositories, use --template-token to provide an access token.\nYou can generate a new token at https://github.com/settings/personal-access-tokens/new\nSet the token to "read-only" with repository access and a short expiry (e.g. 7 days) for security.\n at getGitHubRepoInfo (~/work/sanity/sanity/packages/@sanity/cli/lib/_chunks-cjs/cli.js:26666:11)\n at async initSanity (~/work/sanity/sanity/packages/@sanity/cli/lib/_chunks-cjs/cli.js:52444:90)\n' }
CLI Tests (ubuntu-latest / node 20)
Process completed with exit code 1.
CLI Tests (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
CLI Tests (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