From aecd00cc7d1faa40ecfdfeb77ea9e321e606ea6f Mon Sep 17 00:00:00 2001 From: 7000pctAUTO Date: Thu, 5 Feb 2026 19:50:35 +0000 Subject: [PATCH] Update CI workflow with apt optimizations --- .gitea/workflows/ci.yml | 24 +++++++++++++++--------- 1 file changed, 15 insertions(+), 9 deletions(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 9e2d1b7..62377a9 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -6,12 +6,18 @@ jobs: test: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 - with: - full: true - - run: | - which node || (apt-get update && apt-get install -y nodejs npm) - npm install - npm run lint - npm run typecheck - npm test + - name: Checkout + run: | + git clone --depth=1 --no-single-branch https://7000pct.gitea.bloupla.net/7000pctAUTO/terminal-layout-sync.git . + - name: Install Node + run: | + apt-get update -qq + apt-get install -y -qq nodejs npm > /dev/null 2>&1 + - name: Install Dependencies + run: npm ci + - name: Lint + run: npm run lint + - name: Typecheck + run: npm run typecheck + - name: Test + run: npm test