001-reference-board-viewer #1

Merged
jawz merged 43 commits from 001-reference-board-viewer into main 2025-11-02 15:58:57 -06:00
Showing only changes of commit 681fa0903b - Show all commits

View File

@@ -59,21 +59,25 @@ jobs:
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: Install dependencies - name: Install dependencies and run linting
run: | run: |
# Copy frontend to /tmp to avoid noexec issues with DynamicUser # Copy frontend to /tmp to avoid noexec issues with DynamicUser
cp -r frontend /tmp/frontend-build cp -r frontend /tmp/frontend-build
# Install dependencies in executable location # Install dependencies in executable location
nix develop --quiet --command bash -c " nix develop --quiet --command bash -c "
cd /tmp/frontend-build cd /tmp/frontend-build
npm ci --prefer-offline --no-audit npm ci --prefer-offline --no-audit
"
# Copy node_modules back to workspace
cp -r /tmp/frontend-build/node_modules frontend/
rm -rf /tmp/frontend-build
- name: Run frontend linting # Run linting from the executable location
run: nix run .#lint-frontend echo '🔍 Linting frontend TypeScript/Svelte code...'
npm run lint
npx prettier --check src/
npm run check
"
# Cleanup
rm -rf /tmp/frontend-build
# Nix flake check (needs Nix) # Nix flake check (needs Nix)
nix-check: nix-check: