fix: update CI workflow to use unified test commands #133
ci.yml
on: push
Matrix: Run CI Pipeline / π§ͺ Test Matrix / test-matrix
Run CI Pipeline
/
...
/
Run Lint Check
43s
Run CI Pipeline
/
...
/
Run Type Check
47s
Run CI Pipeline
/
π Coverage Report
55s
Run CI Pipeline
/
β
CI Summary
3s
Annotations
35 errors and 1 warning
|
Run CI Pipeline / π§Ή Lint Check / Run Lint Check:
scripts/build/build-socket-package.mjs#L99
Don't use process.exit(); throw an error instead
|
|
Run CI Pipeline / π§Ή Lint Check / Run Lint Check:
scripts/build/build-socket-package.mjs#L95
Don't use process.exit(); throw an error instead
|
|
Run CI Pipeline / π§Ή Lint Check / Run Lint Check:
scripts/build/build-socket-package.mjs#L13
'runCommand' is defined but never used. Allowed unused vars must match /^_/u
|
|
Run CI Pipeline / π§Ή Lint Check / Run Lint Check:
scripts/build/build-socket-package.mjs#L12
'getRootPath' is defined but never used. Allowed unused vars must match /^_/u
|
|
Run CI Pipeline / π§Ή Lint Check / Run Lint Check:
scripts/build/build-cli-with-sentry.mjs#L164
Don't use process.exit(); throw an error instead
|
|
Run CI Pipeline / π§Ή Lint Check / Run Lint Check:
scripts/build/build-cli-with-sentry.mjs#L160
Don't use process.exit(); throw an error instead
|
|
Run CI Pipeline / π§Ή Lint Check / Run Lint Check:
scripts/build/build-cli-with-sentry.mjs#L114
Unexpected `await` inside a loop
|
|
Run CI Pipeline / π§Ή Lint Check / Run Lint Check:
scripts/build/build-cli-with-sentry.mjs#L13
'getRootPath' is defined but never used. Allowed unused vars must match /^_/u
|
|
Run CI Pipeline / π§Ή Lint Check / Run Lint Check:
scripts/build.mjs#L170
Expected comment to be above code
|
|
Run CI Pipeline / π§Ή Lint Check / Run Lint Check:
scripts/build.mjs#L169
Expected comment to be above code
|
|
Run CI Pipeline / π Type Check / Run Type Check
Process completed with exit code 2.
|
|
Run CI Pipeline / π Type Check / Run Type Check:
src/utils/simple-output.mts#L3
Could not find a declaration file for module 'chalk-table'. '/home/runner/work/socket-cli/socket-cli/node_modules/.pnpm/chalk-table@1.0.2/node_modules/chalk-table/src/index.js' implicitly has an 'any' type.
|
|
Run CI Pipeline / π Type Check / Run Type Check:
src/utils/api.mts#L537
Property 'SOCKET_CLI_API_TIMEOUT' comes from an index signature, so it must be accessed with ['SOCKET_CLI_API_TIMEOUT'].
|
|
Run CI Pipeline / π§ͺ Test Matrix / Test Node 22 on ubuntu-latest
Process completed with exit code 2.
|
|
Run CI Pipeline / π§ͺ Test Matrix / Test Node 22 on ubuntu-latest:
src/utils/simple-output.mts#L3
Could not find a declaration file for module 'chalk-table'. '/home/runner/work/socket-cli/socket-cli/node_modules/.pnpm/chalk-table@1.0.2/node_modules/chalk-table/src/index.js' implicitly has an 'any' type.
|
|
Run CI Pipeline / π§ͺ Test Matrix / Test Node 22 on ubuntu-latest:
src/utils/api.mts#L537
Property 'SOCKET_CLI_API_TIMEOUT' comes from an index signature, so it must be accessed with ['SOCKET_CLI_API_TIMEOUT'].
|
|
Run CI Pipeline / π§ͺ Test Matrix / Test Node 20 on ubuntu-latest
Process completed with exit code 2.
|
|
Run CI Pipeline / π§ͺ Test Matrix / Test Node 20 on ubuntu-latest:
src/utils/simple-output.mts#L3
Could not find a declaration file for module 'chalk-table'. '/home/runner/work/socket-cli/socket-cli/node_modules/.pnpm/chalk-table@1.0.2/node_modules/chalk-table/src/index.js' implicitly has an 'any' type.
|
|
Run CI Pipeline / π§ͺ Test Matrix / Test Node 20 on ubuntu-latest:
src/utils/api.mts#L537
Property 'SOCKET_CLI_API_TIMEOUT' comes from an index signature, so it must be accessed with ['SOCKET_CLI_API_TIMEOUT'].
|
|
Run CI Pipeline / π Coverage Report
Process completed with exit code 2.
|
|
Run CI Pipeline / π Coverage Report:
src/utils/simple-output.mts#L3
Could not find a declaration file for module 'chalk-table'. '/home/runner/work/socket-cli/socket-cli/node_modules/.pnpm/chalk-table@1.0.2/node_modules/chalk-table/src/index.js' implicitly has an 'any' type.
|
|
Run CI Pipeline / π Coverage Report:
src/utils/api.mts#L537
Property 'SOCKET_CLI_API_TIMEOUT' comes from an index signature, so it must be accessed with ['SOCKET_CLI_API_TIMEOUT'].
|
|
Run CI Pipeline / π§ͺ Test Matrix / Test Node 24 on ubuntu-latest
Process completed with exit code 2.
|
|
Run CI Pipeline / π§ͺ Test Matrix / Test Node 24 on ubuntu-latest:
src/utils/simple-output.mts#L3
Could not find a declaration file for module 'chalk-table'. '/home/runner/work/socket-cli/socket-cli/node_modules/.pnpm/chalk-table@1.0.2/node_modules/chalk-table/src/index.js' implicitly has an 'any' type.
|
|
Run CI Pipeline / π§ͺ Test Matrix / Test Node 24 on ubuntu-latest:
src/utils/api.mts#L537
Property 'SOCKET_CLI_API_TIMEOUT' comes from an index signature, so it must be accessed with ['SOCKET_CLI_API_TIMEOUT'].
|
|
Run CI Pipeline / π§ͺ Test Matrix / Test Node 22 on windows-latest
Process completed with exit code 1.
|
|
Run CI Pipeline / π§ͺ Test Matrix / Test Node 22 on windows-latest:
src/utils/simple-output.mts#L3
Could not find a declaration file for module 'chalk-table'. 'D:/a/socket-cli/socket-cli/node_modules/.pnpm/chalk-table@1.0.2/node_modules/chalk-table/src/index.js' implicitly has an 'any' type.
|
|
Run CI Pipeline / π§ͺ Test Matrix / Test Node 22 on windows-latest:
src/utils/api.mts#L537
Property 'SOCKET_CLI_API_TIMEOUT' comes from an index signature, so it must be accessed with ['SOCKET_CLI_API_TIMEOUT'].
|
|
Run CI Pipeline / π§ͺ Test Matrix / Test Node 20 on windows-latest
Process completed with exit code 1.
|
|
Run CI Pipeline / π§ͺ Test Matrix / Test Node 20 on windows-latest:
src/utils/simple-output.mts#L3
Could not find a declaration file for module 'chalk-table'. 'D:/a/socket-cli/socket-cli/node_modules/.pnpm/chalk-table@1.0.2/node_modules/chalk-table/src/index.js' implicitly has an 'any' type.
|
|
Run CI Pipeline / π§ͺ Test Matrix / Test Node 20 on windows-latest:
src/utils/api.mts#L537
Property 'SOCKET_CLI_API_TIMEOUT' comes from an index signature, so it must be accessed with ['SOCKET_CLI_API_TIMEOUT'].
|
|
Run CI Pipeline / π§ͺ Test Matrix / Test Node 24 on windows-latest
Process completed with exit code 1.
|
|
Run CI Pipeline / π§ͺ Test Matrix / Test Node 24 on windows-latest:
src/utils/simple-output.mts#L3
Could not find a declaration file for module 'chalk-table'. 'D:/a/socket-cli/socket-cli/node_modules/.pnpm/chalk-table@1.0.2/node_modules/chalk-table/src/index.js' implicitly has an 'any' type.
|
|
Run CI Pipeline / π§ͺ Test Matrix / Test Node 24 on windows-latest:
src/utils/api.mts#L537
Property 'SOCKET_CLI_API_TIMEOUT' comes from an index signature, so it must be accessed with ['SOCKET_CLI_API_TIMEOUT'].
|
|
Run CI Pipeline / β
CI Summary
Process completed with exit code 1.
|
|
Run CI Pipeline / π§Ή Lint Check / Run Lint Check:
scripts/build/build-stub.mjs#L16
Using exported name 'ensureCustomNodeInCache' as identifier for default export
|