fix(deps): update dependency @portabletext/editor to ^1.32.0 #14736
Annotations
4 errors
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.2/x64/bin/node /tmp/sanity-cli-test/install/node_modules/.bin/sanity init --y --project 1d4femd5 --dataset test-173921750-lin-v20-gh-2777-14736-1-v3 --template sanity-io/sanity/packages/@sanity/cli/test/__fixtures__/remote-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:26673:11)
at async initSanity (~/work/sanity/sanity/packages/@sanity/cli/lib/_chunks-cjs/cli.js:52558:90)
--------------
❯ getGitHubRepoInfo ../../../~/work/sanity/sanity/packages/@sanity/cli/lib/_chunks-cjs/cli.js:26673:11
❯ initSanity ../../../~/work/sanity/sanity/packages/@sanity/cli/lib/_chunks-cjs/cli.js:52558: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:26673:11)\n at async initSanity (~/work/sanity/sanity/packages/@sanity/cli/lib/_chunks-cjs/cli.js:52558: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.2/x64/bin/node /tmp/sanity-cli-test/install/node_modules/.bin/sanity init --y --project 1d4femd5 --dataset test-173921750-lin-v20-gh-2777-14736-1-v3 --template https://github.com/sanity-io/sanity/tree/next/packages/@sanity/cli/test/__fixtures__/remote-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:26673:11)
at async initSanity (~/work/sanity/sanity/packages/@sanity/cli/lib/_chunks-cjs/cli.js:52558:90)
--------------
❯ getGitHubRepoInfo ../../../~/work/sanity/sanity/packages/@sanity/cli/lib/_chunks-cjs/cli.js:26673:11
❯ initSanity ../../../~/work/sanity/sanity/packages/@sanity/cli/lib/_chunks-cjs/cli.js:52558: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:26673:11)\n at async initSanity (~/work/sanity/sanity/packages/@sanity/cli/lib/_chunks-cjs/cli.js:52558: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.2/x64/bin/node /tmp/sanity-cli-test/install/node_modules/.bin/sanity init --y --project 1d4femd5 --dataset test-173921750-lin-v20-gh-2777-14736-1-v3 --template sanity-io/sanity/packages/@sanity/cli/test/__fixtures__/remote-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:26673:11)
at async initSanity (~/work/sanity/sanity/packages/@sanity/cli/lib/_chunks-cjs/cli.js:52558:90)
--------------
❯ getGitHubRepoInfo ../../../~/work/sanity/sanity/packages/@sanity/cli/lib/_chunks-cjs/cli.js:26673:11
❯ initSanity ../../../~/work/sanity/sanity/packages/@sanity/cli/lib/_chunks-cjs/cli.js:52558: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:26673:11)\n at async initSanity (~/work/sanity/sanity/packages/@sanity/cli/lib/_chunks-cjs/cli.js:52558:90)\n' }
|
CLI Tests (ubuntu-latest / node 20)
Process completed with exit code 1.
|