Skip to content

fix: Fix endpoints auth #1053

fix: Fix endpoints auth

fix: Fix endpoints auth #1053

Triggered via pull request November 14, 2024 15:35
Status Failure
Total duration 13m 3s
Artifacts 1

check.yml

on: pull_request
Dependencies
33s
Dependencies
Matrix: lint
Matrix: test
Matrix: typecheck
Matrix: install
Smoke test
30s
Smoke test
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 14 warnings
Typecheck (Node.js v20): src/pages/api/workspaces/list.ts#L22
Property 'workspace_id' does not exist on type '{ type: "api_key"; workspace_id: string; } | { type: "access_token"; workspace_id: string; } | { type: "access_token_without_workspace"; user_id: string; } | { type: "client_session"; connected_account_ids: string[]; ... 4 more ...; method: "publishable_key" | "api_key"; }'.
Typecheck (Node.js v20): src/pages/api/workspaces/list.ts#L28
Property 'user_id' does not exist on type '{ type: "api_key"; workspace_id: string; } | { type: "access_token"; workspace_id: string; } | { type: "access_token_without_workspace"; user_id: string; } | { type: "client_session"; connected_account_ids: string[]; ... 4 more ...; method: "publishable_key" | "api_key"; }'.
Typecheck (Node.js v20)
Process completed with exit code 2.
Typecheck (Node.js v18): src/pages/api/workspaces/list.ts#L22
Property 'workspace_id' does not exist on type '{ type: "api_key"; workspace_id: string; } | { type: "access_token"; workspace_id: string; } | { type: "access_token_without_workspace"; user_id: string; } | { type: "client_session"; connected_account_ids: string[]; ... 4 more ...; method: "publishable_key" | "api_key"; }'.
Typecheck (Node.js v18): src/pages/api/workspaces/list.ts#L28
Property 'user_id' does not exist on type '{ type: "api_key"; workspace_id: string; } | { type: "access_token"; workspace_id: string; } | { type: "access_token_without_workspace"; user_id: string; } | { type: "client_session"; connected_account_ids: string[]; ... 4 more ...; method: "publishable_key" | "api_key"; }'.
Typecheck (Node.js v18)
Process completed with exit code 2.
Dependencies
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Typecheck (Node.js v20)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Typecheck (Node.js v18)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Lint (Node.js v20)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Lint (Node.js v20): src/pages/api/workspaces/list.ts#L34
Expected property shorthand
Lint (Node.js v18)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Lint (Node.js v18): src/pages/api/workspaces/list.ts#L34
Expected property shorthand
Build / Package
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Install (Node.js v20 on Linux)
The following actions use a deprecated Node.js version and will be forced to run on node20: tj-actions/glob@v17, DamianReeves/[email protected]. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Install (Node.js v18 on Linux)
The following actions use a deprecated Node.js version and will be forced to run on node20: tj-actions/glob@v17, DamianReeves/[email protected]. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Test (Node.js v20 on Linux)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Test (Node.js v18 on Linux)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Containerize
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Smoke test
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/

Artifacts

Produced during runtime
Name Size Digest
build-d30263b9e576bbe885e546c16dc2375873417361 Expired
5.46 MB
sha256:054753b78dc3752ed1f5ff82eb58a686f754e3cd868abee45a1fcd3ba0c946dd