Skip to content

Modern Docker Management, Designed for Everyone

chore: add shadcn lint workflow

Kyle Mendellf6ef1679b6f3
diff --git a/.depot/workflows/ci.yml b/.depot/workflows/ci.yml
index a0dbd0291..3f0057d6b 100644
--- a/.depot/workflows/ci.yml
+++ b/.depot/workflows/ci.yml
@@ -113,8 +113,8 @@ jobs:
working-directory: ${{ matrix.module.name }}
only-new-issues: false
- type-check:
- name: Type Check
+ frontend-linter:
+ name: Frontend Linter
runs-on:
size: 2x8
image: g7r5wqb57k.registry.depot.dev/ci:latest
@@ -138,6 +138,9 @@ jobs:
- name: Run workspace type checks
run: just lint js
+ - name: Run shadcn lint
+ run: vp -C frontend run lint
+
e2e-tests:
name: E2E Tests (${{ matrix.database.name }})
env:
@@ -259,7 +262,7 @@ jobs:
env:
COMPOSE_FILE: setup/compose-proxy.yaml
BASE_URL: http://localhost:3002
- PLAYWRIGHT_DOCKER_BROWSER: '0'
+ PLAYWRIGHT_DOCKER_BROWSER: "0"
PLAYWRIGHT_JUNIT_OUTPUT_FILE: test-results/playwright-cli.xml
- name: Upload Playwright HTML report
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 07e879f24..ef0ef978d 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -206,8 +206,8 @@ jobs:
> Analysis from commit ${{ github.sha }}
edit-mode: replace
- type-check:
- name: Type Check
+ frontend-linter:
+ name: Frontend Linter
runs-on: depot-ubuntu-latest
steps:
- name: Checkout code
@@ -232,6 +232,9 @@ jobs:
- name: Run workspace type checks
run: just lint js
+ - name: Run shadcn lint
+ run: vp -C frontend run lint
+
e2e-tests:
name: E2E Tests (${{ matrix.database.name }})
if: ${{ github.head_ref != 'l10n_crowdin' }}
@@ -342,7 +345,7 @@ jobs:
env:
COMPOSE_FILE: setup/compose-proxy.yaml
BASE_URL: http://localhost:3002
- PLAYWRIGHT_DOCKER_BROWSER: '0'
+ PLAYWRIGHT_DOCKER_BROWSER: "0"
E2E_ADMIN_STATIC_API_KEY: ${{ secrets.E2E_ADMIN_STATIC_API_KEY }}
- name: Upload Playwright HTML report