Skip to content

set NODE_AUTH_TOKEN in linting and typecheck stages #2516

set NODE_AUTH_TOKEN in linting and typecheck stages

set NODE_AUTH_TOKEN in linting and typecheck stages #2516

Status Failure
Total duration 6m 46s
Artifacts 4
Set CI/CD metadata
5s
Set CI/CD metadata
Commit stage  /  Scan secrets
11s
Commit stage / Scan secrets
Commit stage  /  Check file format
9s
Commit stage / Check file format
Commit stage  /  Check Markdown format
6s
Commit stage / Check Markdown format
Commit stage  /  Check English usage
9s
Commit stage / Check English usage
Commit stage  /  Check TODO usage
5s
Commit stage / Check TODO usage
Commit stage  /  Trivy Package Scan
3m 52s
Commit stage / Trivy Package Scan
Commit stage  /  Count lines of code
6s
Commit stage / Count lines of code
Commit stage  /  Scan dependencies
42s
Commit stage / Scan dependencies
Commit stage  /  Check for changes to event schema package compared to main branch
6s
Commit stage / Check for changes to event schema package compared to main branch
Commit stage  /  Detect Terraform Changes
6s
Commit stage / Detect Terraform Changes
Commit stage  /  Check event schema version has been updated
Commit stage / Check event schema version has been updated
Commit stage  /  Check for event schemas package version change
0s
Commit stage / Check for event schemas package version change
Commit stage  /  Run terraform-docs
14s
Commit stage / Run terraform-docs
Commit stage  /  Lint Terraform
3s
Commit stage / Lint Terraform
Commit stage  /  Trivy IaC Scan
3m 54s
Commit stage / Trivy IaC Scan
Test stage  /  Check generated dependencies
45s
Test stage / Check generated dependencies
Test stage  /  Pact tests
51s
Test stage / Pact tests
Test stage  /  Linting
2m 29s
Test stage / Linting
Test stage  /  Typecheck
1m 33s
Test stage / Typecheck
Test stage  /  Unit tests
1m 40s
Test stage / Unit tests
Test stage  /  Test coverage
0s
Test stage / Test coverage
Test stage  /  Perform static analysis
0s
Test stage / Perform static analysis
Build stage  /  Build Docs
Build stage / Build Docs
Build stage  /  Create Dynamic Environment
Build stage / Create Dynamic Environment
Matrix: Build stage / artefact-oas-spec
Waiting for pending jobs
Build stage  /  Build OAS spec for sandbox
Build stage / Build OAS spec for sandbox
Build stage  /  Build SDKs
Build stage / Build SDKs
Build stage  /  Build proxies
Build stage / Build proxies
Acceptance stage  /  Run Acceptance Tests
Acceptance stage / Run Acceptance Tests
Publish stage  /  Publish packages
Publish stage / Publish packages
Publish stage  /  Publish npm packages to npm.pkg.github.com
Publish stage / Publish npm packages to npm.pkg.github.com
Publish stage  /  Publish nuget packages to nuget.pkg.github.com
Publish stage / Publish nuget packages to nuget.pkg.github.com
Matrix: Publish stage / publish-oas-specs
Waiting for pending jobs
Publish stage  /  Success notification
Publish stage / Success notification
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 10 warnings
Test stage / Pact tests
Process completed with exit code 1.
Test stage / Unit tests
Process completed with exit code 2.
Test stage / Linting: lambdas/api-handler/src/utils/common-ids.ts#L5
Prefer default export on a file with single export
Test stage / Linting: lambdas/api-handler/src/handlers/post-mi.ts#L2
Caution: `mi-operations.ts` has a default export `postMI`. This imports `postMI` as `postMIOperation`. Check if you meant to write `import postMI from '../services/mi-operations'` instead
Test stage / Linting: lambdas/api-handler/src/handlers/__tests__/utils/test-utils.ts#L3
Prefer default export on a file with single export
Test stage / Linting: lambdas/api-handler/src/handlers/__tests__/post-mi.test.ts#L7
Caution: `mi-operations.ts` has a default export `postMI`. This imports `postMI` as `postMiOperation`. Check if you meant to write `import postMI from '../../services/mi-operations'` instead
Test stage / Linting: internal/helpers/src/id-ref.ts#L54
Variable Assigned to Object Injection Sink
Test stage / Linting: internal/events/src/events/event-envelope.ts#L94
Found non-literal argument to RegExp Constructor
Test stage / Linting: internal/datastore/src/letter-repository.ts#L76
Variable Assigned to Object Injection Sink

Artifacts

Produced during runtime
Name Size Digest
lines-of-code-report.json.zip Expired
1006 Bytes
sha256:09fef45cc403c6e1ae90b0551f5e3452897d0e96eff95a19dfa3c5186c611ae2
sbom-repository-report.json.zip Expired
144 KB
sha256:950232d6df0c7175e06f2210dae7131d29f78d7b6df4f98c5760d22dfb47e225
unit-tests Expired
474 KB
sha256:e4fd0da4077c16987a5f6d34e13bef06f2488e42f4b014b22fd335e7db4e1394
vulnerabilities-repository-report.json.zip Expired
3.24 KB
sha256:b06ff4feb4997469fd9ddb672cf906095ca5a30d7ee040ff7720ed37ca58318a