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:
parent
b194089fec
commit
d8f58d28ed
236 changed files with 426 additions and 471 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue