mirror of
https://github.com/electron/electron.git
synced 2026-01-09 07:28:12 -05:00
build: type check the script folder during lint (#24892)
This commit is contained in:
@@ -1037,6 +1037,11 @@ steps-lint: &steps-lint
|
||||
cd src/electron
|
||||
node script/yarn install --frozen-lockfile
|
||||
node script/yarn lint
|
||||
- run:
|
||||
name: Run Script Typechecker
|
||||
command: |
|
||||
cd src/electron
|
||||
node script/yarn tsc -p tsconfig.script.json
|
||||
|
||||
steps-checkout-and-save-cache: &steps-checkout-and-save-cache
|
||||
steps:
|
||||
|
||||
10
tsconfig.script.json
Normal file
10
tsconfig.script.json
Normal file
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"extends": "./tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"rootDir": ".",
|
||||
"noEmit": true
|
||||
},
|
||||
"include": [
|
||||
"script"
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user