ci: add clean checkout and verification for frontend linting
All checks were successful
CI/CD Pipeline / Nix Flake Check (push) Successful in 44s
CI/CD Pipeline / VM Test - backend-integration (push) Successful in 1m9s
CI/CD Pipeline / VM Test - full-stack (push) Successful in 32s
CI/CD Pipeline / VM Test - performance (push) Successful in 32s
CI/CD Pipeline / VM Test - security (push) Successful in 31s
CI/CD Pipeline / Backend Linting (push) Successful in 5s
CI/CD Pipeline / Frontend Linting (push) Successful in 48s
CI/CD Pipeline / CI Summary (push) Successful in 0s
All checks were successful
CI/CD Pipeline / Nix Flake Check (push) Successful in 44s
CI/CD Pipeline / VM Test - backend-integration (push) Successful in 1m9s
CI/CD Pipeline / VM Test - full-stack (push) Successful in 32s
CI/CD Pipeline / VM Test - performance (push) Successful in 32s
CI/CD Pipeline / VM Test - security (push) Successful in 31s
CI/CD Pipeline / Backend Linting (push) Successful in 5s
CI/CD Pipeline / Frontend Linting (push) Successful in 48s
CI/CD Pipeline / CI Summary (push) Successful in 0s
- Force clean checkout to avoid stale cached files - Clean /tmp/frontend-build before copying - Add verification step to list lib directory contents - This should resolve persistent frontend linting errors in CI
This commit is contained in:
@@ -58,12 +58,21 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
clean: true
|
||||||
|
|
||||||
- name: Install dependencies and run linting
|
- name: Install dependencies and run linting
|
||||||
run: |
|
run: |
|
||||||
|
# Clean any previous build artifacts
|
||||||
|
rm -rf /tmp/frontend-build
|
||||||
|
|
||||||
# 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
|
||||||
|
|
||||||
|
# Verify lib files are present
|
||||||
|
echo "Verifying frontend lib files..."
|
||||||
|
ls -la /tmp/frontend-build/src/lib/ || echo "WARNING: lib directory not found!"
|
||||||
|
|
||||||
# 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
|
||||||
|
|||||||
Reference in New Issue
Block a user