From 149a9faa30b30d75d5d685f8000b6f4e63a61c6f Mon Sep 17 00:00:00 2001 From: JSC Date: Tue, 1 Jul 2025 16:48:58 +0200 Subject: [PATCH] fix: simplify commands in CI workflow by removing unnecessary directory changes --- .gitea/workflows/test.yml | 22 ++++++---------------- 1 file changed, 6 insertions(+), 16 deletions(-) diff --git a/.gitea/workflows/test.yml b/.gitea/workflows/test.yml index c639b11..0b33f84 100644 --- a/.gitea/workflows/test.yml +++ b/.gitea/workflows/test.yml @@ -33,19 +33,13 @@ jobs: run: ls -lah - name: Install dependencies - run: | - cd frontend - bun install + run: bun install - name: Run ESLint - run: | - cd frontend - bun run lint + run: bun run lint - name: Run TypeScript check - run: | - cd frontend - bunx tsc -b --noEmit + run: bunx tsc -b --noEmit build: runs-on: ubuntu-latest @@ -69,18 +63,14 @@ jobs: ${{ runner.os }}-bun- - name: Install dependencies - run: | - cd frontend - bun install + run: bun install - name: Build application - run: | - cd frontend - bun run build + run: bun run build - name: Upload build artifacts uses: actions/upload-artifact@v4 with: name: frontend-dist - path: frontend/dist/ + path: dist/ retention-days: 7 \ No newline at end of file