Skip to content

Commit 02541a7

Browse files
committed
test(openui5-snapshot-test): add runCheck to CI script
Runs the runCheck CLI against the snapshot .d.ts files as part of CI. This would have caught the TS6 module resolution and @types discovery regressions before they reached consumers.
1 parent 4932904 commit 02541a7

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎test-packages/openui5-snapshot-test/package.json‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,9 @@
1919
"@types/qunit": "2.5.4"
2020
},
2121
"scripts": {
22-
"ci": "npm-run-all test",
22+
"ci": "npm-run-all test dts:run-check",
2323
"test": "mocha \"./test/**/*spec.js\"",
24+
"dts:run-check": "node ../../packages/dts-generator/dist/runCheck.js output-dts",
2425
"re-generate": "npm-run-all sdk:* dts:*",
2526
"sdk:download": "node ./lib/download-sdk.js",
2627
"sdk:format": "prettier --write \"input-sdk/*.json\"",

0 commit comments

Comments
 (0)