fix: narrow ContentProperty.type to enum and remove stale designToken… #1059
main.yaml
on: push
Annotations
3 errors and 14 warnings
|
test-integration / test-integration
Process completed with exit code 1.
|
|
test/integration/taxonomy-integration.test.ts > Taxonomy Integration > create and update a concept - put:
lib/adapters/REST/make-request.ts#L35
ValidationFailed: {
"status": 422,
"statusText": "",
"message": "Validation error",
"details": "URI already exists",
"request": {
"url": "/organizations/***/taxonomy/concepts/4Sm9LFLrIwfEPvUeDGFKe2",
"headers": {
"Accept": "application/json, text/plain, */*",
"Content-Type": "application/vnd.contentful.management.v1+json",
"X-Contentful-User-Agent": "sdk contentful-management-plain.js/0.0.0-determined-by-semantic-release; platform node.js/v22.22.2; os Linux/v22.22.2;",
"Authorization": "***",
"X-Contentful-Version": "1",
"User-Agent": "axios/1.13.6",
"Content-Length": "74",
"Accept-Encoding": "gzip, compress, deflate, br"
},
"method": "put",
"payloadData": "{\"prefLabel\":{\"en-US\":\"Test Concept\"},\"uri\":\"https://example.com/concept\"}"
}
}
❯ errorHandler node_modules/contentful-sdk-core/src/error-handler.ts:65:17
❯ Module.makeRequest lib/adapters/REST/make-request.ts:35:10
❯ test/integration/taxonomy-integration.test.ts:171:28
|
|
test/integration/taxonomy-integration.test.ts > Taxonomy Integration > create a concept with all fields:
lib/adapters/REST/make-request.ts#L35
ValidationFailed: {
"status": 422,
"statusText": "",
"message": "Validation error",
"details": "URI already exists",
"request": {
"url": "/organizations/***/taxonomy/concepts",
"headers": {
"Accept": "application/json, text/plain, */*",
"Content-Type": "application/vnd.contentful.management.v1+json",
"X-Contentful-User-Agent": "sdk contentful-management-plain.js/0.0.0-determined-by-semantic-release; platform node.js/v22.22.2; os Linux/v22.22.2;",
"Authorization": "***",
"User-Agent": "axios/1.13.6",
"Content-Length": "401",
"Accept-Encoding": "gzip, compress, deflate, br"
},
"method": "post",
"payloadData": "{\"uri\":\"https://example.com/concept\",\"example\":{\"en-US\":\"Example\"},\"prefLabel\":{\"en-US\":\"Test Concept\"},\"altLabels\":{\"en-US\":[\"Hello\",\"World\"]},\"editorialNote\":{\"en-US\":\"Editorial Note\"},\"definition\":{\"en-US\":\"Definition\"},\"hiddenLabels\":{\"en-US\":[\"Hidden Label\"]},\"note\":{\"en-US\":\"Note\"},\"historyNote\":{\"en-US\":\"History Note\"},\"notations\":[\"notation1\",\"notation2\"],\"scopeNote\":{\"en-US\":\"Scope Note\"}}"
}
}
❯ errorHandler node_modules/contentful-sdk-core/src/error-handler.ts:65:17
❯ Module.makeRequest lib/adapters/REST/make-request.ts:35:10
❯ test/integration/taxonomy-integration.test.ts:112:20
|
|
build / build
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache/save@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
check / lint
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache/restore@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
check / lint:
lib/create-environment-api.ts#L271
Unexpected any. Specify a different type
|
|
check / lint:
lib/common-utils.ts#L36
Include a description after the "@ts-expect-error" directive to explain why the @ts-expect-error is necessary. The description must be 3 characters or longer
|
|
check / lint:
lib/common-utils.ts#L27
Unexpected any. Specify a different type
|
|
check / lint:
lib/common-utils.ts#L22
Include a description after the "@ts-expect-error" directive to explain why the @ts-expect-error is necessary. The description must be 3 characters or longer
|
|
check / lint:
lib/common-utils.ts#L17
Unexpected any. Specify a different type
|
|
check / lint:
lib/common-types.ts#L311
Unexpected any. Specify a different type
|
|
check / lint:
lib/adapters/REST/endpoints/app-action-call.ts#L164
Unexpected any. Specify a different type
|
|
check / lint:
lib/adapters/REST/endpoints/app-action-call.ts#L164
'error' is defined but never used
|
|
check / lint:
lib/adapters/REST/endpoints/app-action-call.ts#L83
'error' is defined but never used
|
|
check / lint:
lib/adapters/REST/endpoints/ai-action.ts#L52
'sys' is assigned a value but never used
|
|
test-demo-projects / test-demo-projects
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache/restore@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
test-integration / test-integration
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache/restore@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|