fix: CI to include lint and format along with build (#7482)

* fix(lint): get ci passing again

* chore(ci): run lint before build

* chore(ci): exclude web app from build check for now

The web app takes too long and causes CI to timeout. Once we
improve we will reintroduce.

* fix: formating of files

* fix: adding format to ci

---------

Co-authored-by: sriramveeraghanta <veeraghanta.sriram@gmail.com>
This commit is contained in:
Aaron Heckmann 2025-08-18 08:57:16 -07:00 committed by GitHub
parent b194089fec
commit d8f58d28ed
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
236 changed files with 426 additions and 471 deletions

View file

@ -4,7 +4,14 @@ on:
workflow_dispatch:
pull_request:
branches: ["preview"]
types: ["opened", "synchronize", "ready_for_review", "review_requested", "reopened"]
types:
[
"opened",
"synchronize",
"ready_for_review",
"review_requested",
"reopened",
]
paths:
- "**.tsx?"
- "**.jsx?"
@ -34,10 +41,11 @@ jobs:
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Build web apps
run: yarn run build
- name: Lint web apps
run: yarn run ci:lint
run: yarn check:lint
- name: Check format
run: yarn check:format
- name: Build apps
run: yarn build