This commit is contained in:
Danilo Reyes
2025-11-02 11:09:29 -06:00
parent 010df31455
commit 5dc1b0bca5

View File

@@ -60,7 +60,17 @@ jobs:
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: Install dependencies - name: Install dependencies
run: nix develop --quiet --command bash -c "cd frontend && npm ci --prefer-offline" run: |
# Copy frontend to /tmp to avoid noexec issues with DynamicUser
cp -r frontend /tmp/frontend-build
# Install dependencies in executable location
nix develop --quiet --command bash -c "
cd /tmp/frontend-build
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 - name: Run frontend linting
run: nix run .#lint-frontend run: nix run .#lint-frontend