add typecheck #2736
cicd-1-pull-request.yaml
on: push
Set CI/CD metadata
7s
Commit stage
/
Scan secrets
10s
Commit stage
/
Check file format
7s
Commit stage
/
Check Markdown format
4s
Commit stage
/
Check English usage
8s
Commit stage
/
Check TODO usage
7s
Commit stage
/
Trivy Package Scan
10s
Commit stage
/
Count lines of code
9s
Commit stage
/
Scan dependencies
46s
Commit stage
/
Check for changes to event schema package compared to main branch
7s
Commit stage
/
Check event schema version has been updated
0s
Commit stage
/
Check for event schemas package version change
0s
Commit stage
/
Run terraform-docs
0s
Commit stage
/
Lint Terraform
0s
Commit stage
/
Trivy IaC Scan
0s
Test stage
/
Check generated dependencies
50s
Test stage
/
Pact tests
1m 1s
Test stage
/
Linting
2m 35s
Test stage
/
Typecheck
1m 34s
Test stage
/
Test coverage
0s
Test stage
/
Perform static analysis
0s
Matrix: Build stage / artefact-oas-spec
Waiting for pending jobs
Publish stage
/
Publish npm packages to npm.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
Annotations
2 errors and 10 warnings
|
Test stage / Unit tests
Process completed with exit code 2.
|
|
Test stage / Linting
Process completed with exit code 2.
|
|
Test stage / Linting:
lambdas/api-handler/src/utils/validation.ts#L41
Unsafe Regular Expression
|
|
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/utils/__tests__/validation.test.ts#L74
Test has no assertions
|
|
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/events/src/events/event-envelope.ts#L84
Unsafe Regular Expression
|
|
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
|
979 Bytes |
sha256:ca54c88e4e43a0b492bc16a261d37f8fc49c833f7ed8a939b22c01229b4ea001
|
|
|
sbom-repository-report.json.zip
Expired
|
137 KB |
sha256:de6f412988eb99e29dcab42e266038819bd1ad685eef850927ebcff7155b6744
|
|
|
unit-tests
Expired
|
655 KB |
sha256:a60614e782d243ee617c6712cb8492a8f48018d199fbfff01913552484c8e797
|
|
|
vulnerabilities-repository-report.json.zip
Expired
|
4.2 KB |
sha256:ce57bc19fcaaf16583fb8080678d515c41d01e3393accdae42197bd59be3fd0b
|
|