Skip to content

Commit 60036d1

Browse files
committed
build: check ng-dev tool configuration in CI
Adds a CI tests to verify that we don't merge accident breaking changes
1 parent 441c2ef commit 60036d1

File tree

3 files changed

+12
-3
lines changed

3 files changed

+12
-3
lines changed

.circleci/config.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -184,8 +184,8 @@ jobs:
184184
- run:
185185
name: Validate Circular Dependencies
186186
command: yarn ts-circular-deps:check
187-
- run:
188-
command: yarn -s admin validate
187+
- run: yarn -s admin validate
188+
- run: yarn -s check-tooling-setup
189189

190190
e2e-cli:
191191
parameters:

.ng-dev/tsconfig.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"extends": "../tsconfig.json",
3+
"compilerOptions": {
4+
"noEmit": true
5+
},
6+
"include": ["**/*.ts"],
7+
"exclude": []
8+
}

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@
3232
"public-api:check": "node goldens/public-api/manage.js test",
3333
"public-api:update": "node goldens/public-api/manage.js accept",
3434
"ts-circular-deps:check": "ng-dev ts-circular-deps check --config ./packages/circular-deps-test.conf.js",
35-
"ts-circular-deps:approve": "ng-dev ts-circular-deps approve --config ./packages/circular-deps-test.conf.js"
35+
"ts-circular-deps:approve": "ng-dev ts-circular-deps approve --config ./packages/circular-deps-test.conf.js",
36+
"check-tooling-setup": "tsc --project .ng-dev/tsconfig.json"
3637
},
3738
"repository": {
3839
"type": "git",

0 commit comments

Comments
 (0)