Skip to content

feat: run lint only on affected packages (#4022) #14

feat: run lint only on affected packages (#4022)

feat: run lint only on affected packages (#4022) #14

Triggered via push March 11, 2025 20:30
Status Failure
Total duration 4m 58s
Artifacts

custard-ci.yaml

on: push
Finding affected tests
17s
Finding affected tests
region tags
8s
region tags
Matrix: test
Waiting for pending jobs
Fit to window
Zoom out
Zoom in

Annotations

11 errors and 3 warnings
custard CI
Error when evaluating 'strategy' for job 'test'. .github/workflows/custard-ci.yaml (Line: 129, Col: 15): Matrix vector 'path' does not contain any values
lint
Command failed: npx gts lint
lint: .github/scripts/cli/vars.js#L26
Don't use process.exit(); throw an error instead
lint: .github/scripts/cli/vars.js#L30
'_key' is defined but never used
lint: .github/scripts/cli/vars.js#L30
'_value' is defined but never used
lint: .github/scripts/cli/vars.js#L36
Don't use process.exit(); throw an error instead
lint: .github/scripts/setup-vars.js#L17
Replace `{projectId,·core,·setup,·serviceAccount,·idToken},·runId·=·null` with `⏎··{projectId,·core,·setup,·serviceAccount,·idToken},⏎··runId·=·null⏎`
lint: .github/scripts/setup-vars.js#L27
The 'Object.fromEntries' is not supported until Node.js 12.0.0. The configured version range is '>=8.0.0'
lint: .github/scripts/setup-vars.js#L52
Insert `;`
lint: .github/scripts/setup-vars.js#L53
Insert `;`
lint: .github/scripts/setup-vars.js#L69
're' is never reassigned. Use 'const' instead
Finding affected tests
Restore cache failed: Dependencies file is not found in /home/runner/work/nodejs-docs-samples/nodejs-docs-samples. Supported file pattern: go.sum
lint: .github/scripts/setup-vars.js#L55
Strings must use singlequote
lint: .github/scripts/setup-vars.test.js#L22
Strings must use singlequote