Added Missing Lint Build (#43665)
Unfortunately, it looks like we need to build in order to be able to lint. This makes sense since some projects will lint imports from others that haven't been built yet.
This commit is contained in:
parent
303760ba5b
commit
31c170f80c
|
@ -58,6 +58,7 @@ jobs:
|
|||
id: 'setup-monorepo'
|
||||
with:
|
||||
install: '${{ matrix.projectName }}...'
|
||||
build: '${{ matrix.projectName }}'
|
||||
- name: 'Lint'
|
||||
run: 'pnpm --filter="${{ matrix.projectName }}" ${{ matrix.command }}'
|
||||
project-test-jobs:
|
||||
|
|
|
@ -354,7 +354,10 @@
|
|||
"ci": {
|
||||
"lint": {
|
||||
"command": "lint",
|
||||
"changes": "assets/**/*{js,ts,tsx,scss}"
|
||||
"changes": [
|
||||
"assets/**/*{js,ts,tsx,scss}",
|
||||
"packages/**/*.{js,ts,tsx,scss}"
|
||||
]
|
||||
},
|
||||
"tests": [
|
||||
{
|
||||
|
@ -365,7 +368,8 @@
|
|||
"webpack.config.js",
|
||||
"babel.config.js",
|
||||
"tsconfig.json",
|
||||
"assets/**/*{js,ts,tsx,scss}"
|
||||
"assets/**/*.{js,ts,tsx,scss}",
|
||||
"packages/**/*.{js,ts,tsx,scss}"
|
||||
],
|
||||
"cascade": "test:js"
|
||||
}
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
Significance: patch
|
||||
Type: dev
|
||||
Comment: CI-only change.
|
||||
|
Loading…
Reference in New Issue