This repository has been archived by the owner on Dec 11, 2024. It is now read-only.
chore(deps): Update pnpm to v9.9.0 - autoclosed #119
ci-cd.yml
on: pull_request
install dependencies (pnpm)
12s
check linting (prettier)
18s
tests
1m 4s
Annotations
3 errors and 6 warnings
Unhandled error:
src/Private/Requests.ts#L54
AxiosError: Request failed with status code 429
❯ settle node_modules/.pnpm/[email protected]/node_modules/axios/lib/core/settle.js:19:12
❯ IncomingMessage.handleStreamEnd node_modules/.pnpm/[email protected]/node_modules/axios/lib/adapters/http.js:599:11
❯ IncomingMessage.emit node:events:531:35
❯ endReadableNT node:internal/streams/readable:1696:12
❯ processTicksAndRejections node:internal/process/task_queues:82:21
❯ Axios.request node_modules/.pnpm/[email protected]/node_modules/axios/lib/core/Axios.js:45:41
❯ processTicksAndRejections node:internal/process/task_queues:95:5
❯ Requests.request src/Private/Requests.ts:54:17
❯ RateLimit.sync src/Private/RateLimit.ts:18:25
❯ RateLimit.initialize src/Private/RateLimit.ts:33:5
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { description: undefined, number: undefined, fileName: undefined, lineNumber: undefined, columnNumber: undefined, config: { transitional: { silentJSONParsing: true, forcedJSONParsing: true, clarifyTimeoutError: false }, adapter: [ 'xhr', 'http', 'fetch' ], transformRequest: [ 'Function<transformRequest>' ], transformResponse: [ 'Function<transformResponse>' ], timeout: +0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, maxBodyLength: -1, env: { FormData: 'Function<FormData>', Blob: 'Function<Blob>' }, validateStatus: 'Function<validateStatus>', headers: { Accept: 'application/json, text/plain, */*', 'API-Key': '***', 'User-Agent': 'axios/1.7.5', 'Accept-Encoding': 'gzip, compress, deflate, br' }, method: 'get', url: 'https://api.hypixel.net/v2/boosters' }, code: 'ERR_BAD_REQUEST', status: 429 }
This error originated in "src/API/getGameCounts.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "getGameCounts". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.
|
src/API/getGameCounts.test.ts > getGameCounts:
src/Private/Requests.ts#L54
AxiosError: Request failed with status code 429
❯ settle node_modules/.pnpm/[email protected]/node_modules/axios/lib/core/settle.js:19:12
❯ IncomingMessage.handleStreamEnd node_modules/.pnpm/[email protected]/node_modules/axios/lib/adapters/http.js:599:11
❯ Axios.request node_modules/.pnpm/[email protected]/node_modules/axios/lib/core/Axios.js:45:41
❯ Requests.request src/Private/Requests.ts:54:17
❯ getGameCounts.execute src/API/getGameCounts.ts:14:17
❯ src/API/getGameCounts.test.ts:19:16
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { description: undefined, number: undefined, fileName: undefined, lineNumber: undefined, columnNumber: undefined, config: { transitional: { silentJSONParsing: true, forcedJSONParsing: true, clarifyTimeoutError: false }, adapter: [ 'xhr', 'http', 'fetch' ], transformRequest: [ 'Function<transformRequest>' ], transformResponse: [ 'Function<transformResponse>' ], timeout: +0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, maxBodyLength: -1, env: { FormData: 'Function<FormData>', Blob: 'Function<Blob>' }, validateStatus: 'Function<validateStatus>', headers: { Accept: 'application/json, text/plain, */*', 'API-Key': '***', 'User-Agent': 'axios/1.7.5', 'Accept-Encoding': 'gzip, compress, deflate, br' }, method: 'get', url: 'https://api.hypixel.net/v2/counts' }, code: 'ERR_BAD_REQUEST', status: 429 }
|
tests
Process completed with exit code 1.
|
install dependencies (pnpm)
The following actions use a deprecated Node.js version and will be forced to run on node20: pnpm/action-setup@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
check linting (eslint)
The following actions use a deprecated Node.js version and will be forced to run on node20: pnpm/action-setup@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
check linting (eslint):
src/Client.ts#L9
'Client' was used before it was defined
|
check linting (prettier)
The following actions use a deprecated Node.js version and will be forced to run on node20: pnpm/action-setup@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
build
The following actions use a deprecated Node.js version and will be forced to run on node20: pnpm/action-setup@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
tests
The following actions use a deprecated Node.js version and will be forced to run on node20: pnpm/action-setup@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|