Skip to content

Commit 7d5d0ab

Browse files
ci: add comprehensive lint and format checks to CI workflow (#15)
Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
1 parent 973dff7 commit 7d5d0ab

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.github/workflows/ci.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,30 @@ jobs:
3434
- name: Run qlty code smells analysis
3535
run: qlty smells
3636

37+
lint-and-format:
38+
name: Lint & Format
39+
runs-on: ubuntu-latest
40+
timeout-minutes: 15
41+
steps:
42+
- name: Checkout
43+
uses: actions/checkout@v4
44+
45+
- name: Base Setup
46+
uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1
47+
48+
- name: Install dependencies
49+
run: python -m pip install -U "jupyterlab>=4.0.0,<5"
50+
51+
- name: Install node dependencies
52+
run: jlpm
53+
env:
54+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
55+
56+
- name: Run lint and format checks
57+
run: jlpm run lint:check
58+
env:
59+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
60+
3761
audit-prod:
3862
name: Audit - Production
3963
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)