Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 11 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,15 +63,20 @@ jobs:
steps:
- uses: actions/checkout@v4

- uses: pnpm/action-setup@v4
with:
version: 9

- uses: actions/setup-node@v4
with:
node-version: "20"
cache: "npm"
cache-dependency-path: frontend/package-lock.json
cache: "pnpm"
cache-dependency-path: frontend/pnpm-lock.yaml

- name: Install & type-check
- name: Install & check
run: |
cd frontend
npm ci
npx tsc --noEmit
npx eslint src/
pnpm install --frozen-lockfile
pnpm exec tsc --noEmit
pnpm lint
pnpm build
1 change: 0 additions & 1 deletion backend/apps/auth_github/tests/test_github_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
)
from apps.auth_github.models import GitHubIdentity


# ---------------------------------------------------------------------------
# get_identity_or_reauth
# ---------------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion backend/apps/repos/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
from celery import shared_task
from django.conf import settings

from .models import RepoStatus, Repository
from .models import Repository, RepoStatus
from .utils import parse_github_owner_repo as _parse_github_owner_repo

logger = logging.getLogger(__name__)
Expand Down
3 changes: 1 addition & 2 deletions backend/apps/repos/tests/test_view_helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,9 @@
get_user_repo_or_404_response,
normalize_or_400,
)
from apps.repos.models import RepoStatus, Repository, RepositoryAccess
from apps.repos.models import Repository, RepositoryAccess, RepoStatus
from apps.repos.views import _normalize_url


# ---------------------------------------------------------------------------
# normalize_or_400
# ---------------------------------------------------------------------------
Expand Down
3 changes: 2 additions & 1 deletion frontend/src/components/Dashboard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ export function Dashboard({ repo, onReanalyze, switcher }: Props) {

const toggle = (panel: ImperativePanelHandle | null) => {
if (!panel) return
panel.isCollapsed() ? panel.expand() : panel.collapse()
if (panel.isCollapsed()) panel.expand()
else panel.collapse()
}

const handleReanalyze = async () => {
Expand Down
Loading