Skip to content

Commit 4c5d082

Browse files
authored
ci: add supported configurations linter to keep in sync with index.d.ts (#7954)
This makes sure index.d.ts and supported-configurations.json keep in sync. This is important, since the json file defines the actual behavior while index.d.ts is used for our official documentation.
1 parent e92e7f0 commit 4c5d082

17 files changed

Lines changed: 956 additions & 2 deletions

File tree

.github/CODEOWNERS

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,8 @@
157157
/packages/**/*.dsm.spec.js @DataDog/data-streams-monitoring
158158

159159
# API SDK Capabilities
160+
/eslint-rules/ @DataDog/apm-sdk-capabilities-js
161+
160162
/integration-tests/log_injection.spec.js @DataDog/apm-sdk-capabilities-js
161163
/integration-tests/opentelemetry/ @DataDog/apm-sdk-capabilities-js
162164
/integration-tests/opentelemetry-logs.spec.js @DataDog/apm-sdk-capabilities-js

.github/workflows/project.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,14 @@ jobs:
5252
- uses: ./.github/actions/install
5353
- run: npm run verify-exercised-tests
5454

55+
generated-config-types:
56+
runs-on: ubuntu-latest
57+
name: Generated config types
58+
steps:
59+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
60+
- uses: ./.github/actions/node/latest
61+
- run: npm run verify:config:types
62+
5563
workflow-job-names:
5664
runs-on: ubuntu-latest
5765
name: Workflow job names (unique)

0 commit comments

Comments
 (0)