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:
Christopher Allford 2024-01-15 12:30:54 -08:00 committed by GitHub
parent 303760ba5b
commit 31c170f80c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 11 additions and 2 deletions

View File

@ -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:

View File

@ -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"
}

View File

@ -0,0 +1,4 @@
Significance: patch
Type: dev
Comment: CI-only change.