From d66f8bdd268c1d52d1c38f1bc99bbbc66995a253 Mon Sep 17 00:00:00 2001 From: MrFastwind Date: Thu, 23 Jul 2026 20:15:31 +0200 Subject: [PATCH] ci: add go test and npm test to CI pipeline, remove redundant npm ci - ci.yml: add 'go test ./...' and 'npm test' steps - release.yml: remove redundant 'cd frontend && npm ci' (GoReleaser handles it) --- .gitea/workflows/ci.yml | 3 ++- .gitea/workflows/release.yml | 1 - 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 4dcc261..589358c 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -17,4 +17,5 @@ jobs: with: node-version: "22" - run: cd backend && go build ./... - - run: cd frontend && npm ci && npm run build + - run: cd backend && go test ./... + - run: cd frontend && npm ci && npm run build && npm test diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index 76135cc..952ea72 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -19,7 +19,6 @@ jobs: node-version: "22" - uses: docker/setup-qemu-action@v3 - uses: docker/setup-buildx-action@v3 - - run: cd frontend && npm ci - uses: goreleaser/goreleaser-action@v6 with: version: "~> 2"