Update CI workflow by adding linting step to frontend
Some checks failed
Some checks failed
This commit is contained in:
@@ -25,6 +25,8 @@ jobs:
|
||||
run: task setup
|
||||
- name: Install dependencies
|
||||
run: task install:ci
|
||||
- name: Lint
|
||||
run: task lint
|
||||
- name: Frontend checks
|
||||
run: task check
|
||||
- name: Build frontend
|
||||
@@ -35,7 +37,7 @@ jobs:
|
||||
name: frontend-build
|
||||
path: build/
|
||||
|
||||
lint-backend:
|
||||
scan-backend:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
@@ -49,7 +51,7 @@ jobs:
|
||||
|
||||
build-backend:
|
||||
runs-on: ubuntu-latest
|
||||
needs: [build-frontend, lint-backend]
|
||||
needs: [build-frontend, scan-backend]
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: https://git.quad4.io/actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
|
||||
|
||||
Reference in New Issue
Block a user