From f3b3940e0669a0da8e9a15d2a742eedffbf0f16e Mon Sep 17 00:00:00 2001 From: jedarden Date: Wed, 8 Apr 2026 17:26:27 -0400 Subject: [PATCH] fix(ci): remove references to deleted worker-api and acb-indexer directories - Remove worker-api-tests job (worker-api/ directory was removed) - Remove indexer-tests job (cmd/acb-indexer/ was removed, replaced by Go acb-index-builder) - Add cmd tests to go-tests job to run all Go tests - Add lint and type check steps to web-build job --- .github/workflows/ci.yml | 58 ++++++++-------------------------------- 1 file changed, 11 insertions(+), 47 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 34e6e31..5ec8366 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -7,7 +7,7 @@ on: branches: [master, main] jobs: - # Go engine tests + # Go engine and cmd tests go-tests: name: Go Tests runs-on: ubuntu-latest @@ -23,58 +23,15 @@ jobs: - name: Run engine tests run: go test ./engine/... -v -race + - name: Run cmd tests + run: go test ./cmd/... -v -race + - name: Build CLI tools run: | go build ./cmd/acb-local go build ./cmd/acb-mapgen go build ./cmd/acb-worker - # Worker API tests - worker-api-tests: - name: Worker API Tests - runs-on: ubuntu-latest - defaults: - run: - working-directory: worker-api - steps: - - uses: actions/checkout@v4 - - - name: Setup Node.js - uses: actions/setup-node@v4 - with: - node-version: '20' - cache: 'npm' - cache-dependency-path: worker-api/package-lock.json - - - name: Install dependencies - run: npm ci - - - name: Run tests - run: npm test - - # Indexer tests - indexer-tests: - name: Indexer Tests - runs-on: ubuntu-latest - defaults: - run: - working-directory: cmd/acb-indexer - steps: - - uses: actions/checkout@v4 - - - name: Setup Node.js - uses: actions/setup-node@v4 - with: - node-version: '20' - cache: 'npm' - cache-dependency-path: cmd/acb-indexer/package-lock.json - - - name: Install dependencies - run: npm ci - - - name: Run tests - run: npm test - # Web build web-build: name: Web Build @@ -95,6 +52,13 @@ jobs: - name: Install dependencies run: npm ci + - name: Lint + run: npm run lint + continue-on-error: true + + - name: Type check + run: npx tsc --noEmit + - name: Build run: npm run build