mirror of
https://github.com/apache/superset.git
synced 2026-04-17 07:05:04 +00:00
chore: improve/decouple eslint and tsc 'npm run' commands (#26704)
This commit is contained in:
committed by
GitHub
parent
7c2093c495
commit
0f590799b2
13
.github/workflows/superset-frontend.yml
vendored
13
.github/workflows/superset-frontend.yml
vendored
@@ -39,11 +39,20 @@ jobs:
|
||||
uses: ./.github/actions/cached-dependencies
|
||||
with:
|
||||
run: npm-install
|
||||
- name: lint
|
||||
- name: eslint
|
||||
if: steps.check.outcome == 'failure'
|
||||
working-directory: ./superset-frontend
|
||||
run: |
|
||||
npm run eslint -- . --quiet
|
||||
- name: tsc
|
||||
if: steps.check.outcome == 'failure'
|
||||
working-directory: ./superset-frontend
|
||||
run: |
|
||||
npm run type
|
||||
- name: prettier
|
||||
if: steps.check.outcome == 'failure'
|
||||
working-directory: ./superset-frontend
|
||||
run: |
|
||||
npm run lint -- --quiet
|
||||
npm run prettier-check
|
||||
- name: Build plugins packages
|
||||
if: steps.check.outcome == 'failure'
|
||||
|
||||
7
.github/workflows/superset-websocket.yml
vendored
7
.github/workflows/superset-websocket.yml
vendored
@@ -21,9 +21,12 @@ jobs:
|
||||
- name: Install dependencies
|
||||
working-directory: ./superset-websocket
|
||||
run: npm ci
|
||||
- name: lint
|
||||
- name: eslint
|
||||
working-directory: ./superset-websocket
|
||||
run: npm run lint
|
||||
run: npm run eslint -- .
|
||||
- name: typescript checks
|
||||
working-directory: ./superset-websocket
|
||||
run: npm run type
|
||||
- name: prettier
|
||||
working-directory: ./superset-websocket
|
||||
run: npm run prettier-check
|
||||
|
||||
Reference in New Issue
Block a user