From 8fdfed59273e55068f5d2d9e4ef67a8c7a1e6f79 Mon Sep 17 00:00:00 2001 From: 7000pctAUTO Date: Thu, 5 Feb 2026 19:40:43 +0000 Subject: [PATCH] Simplify CI workflow --- .gitea/workflows/ci.yml | 31 ++++++------------------------- 1 file changed, 6 insertions(+), 25 deletions(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index be46ec2..e6085a1 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -1,34 +1,15 @@ name: CI -on: - push: - branches: [main] - pull_request: - branches: [main] +on: [push, pull_request] jobs: test: runs-on: ubuntu-latest steps: - - name: Checkout - run: | + - run: | git clone --depth 1 https://7000pct.gitea.bloupla.net/7000pctAUTO/terminal-layout-sync.git /tmp/repo cd /tmp/repo - - name: Setup Node - run: | - cd /tmp/repo - curl -fsSL https://deb.nodesource.com/setup_18.x | bash -E - - apt-get install -y nodejs - - name: Install - run: | - cd /tmp/repo - npm ci - - name: Lint - run: npm run lint - working-directory: /tmp/repo - - name: Typecheck - run: npm run typecheck - working-directory: /tmp/repo - - name: Test - run: npm test - working-directory: /tmp/repo + npm install + npm run lint + npm run typecheck + npm test