move azure specific commands to azure-pipelines.yml
This commit is contained in:
parent
290094e10a
commit
36eb0bb1da
|
@ -71,7 +71,10 @@ jobs:
|
|||
- script: |
|
||||
set -e
|
||||
export PATH="$HOME/.yarn/bin:$HOME/.config/yarn/global/node_modules/.bin:$PATH"
|
||||
yarn lint
|
||||
yarn -s run code-lint --format junit > junit.xml
|
||||
yarn schema-lint
|
||||
yarn type-lint
|
||||
yarn special-lint
|
||||
displayName: "Run linting"
|
||||
- task: PublishTestResults@2
|
||||
inputs:
|
||||
|
|
|
@ -121,7 +121,7 @@
|
|||
"pretest": "yarn lint",
|
||||
"prelint": "yarn setup",
|
||||
"lint": "yarn code-lint && yarn schema-lint && yarn type-lint && yarn special-lint",
|
||||
"code-lint": "eslint --format junit --cache \"{setup,lib,bin,hot,buildin,benchmark,tooling,schemas}/**/*.js\" \"test/*.js\" \"test/{configCases,watchCases,statsCases,hotCases}/**/webpack.config.js\" \"examples/**/webpack.config.js\" > junit.xml",
|
||||
"code-lint": "eslint --cache \"{setup,lib,bin,hot,buildin,benchmark,tooling,schemas}/**/*.js\" \"test/*.js\" \"test/{configCases,watchCases,statsCases,hotCases}/**/webpack.config.js\" \"examples/**/webpack.config.js\"",
|
||||
"type-lint": "tsc --pretty",
|
||||
"special-lint": "node tooling/inherit-types && node tooling/format-schemas && node tooling/compile-to-definitions",
|
||||
"special-lint-fix": "node tooling/inherit-types --write --override && node tooling/format-schemas --write && node tooling/compile-to-definitions --write",
|
||||
|
|
Loading…
Reference in New Issue