From 191fc6ffa0e6d48ef0ea9eeb3d1ae0ceca5bd779 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cau=C3=AA=20Faleiros?= Date: Mon, 31 Aug 2026 13:05:02 -0300 Subject: [PATCH] ci: make validation compatible with Gitea runner --- .github/workflows/ci.yml | 11 ++--------- BACKEND.md | 2 +- 2 files changed, 3 insertions(+), 10 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0ca1fc0..8615fc4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,17 +13,10 @@ jobs: name: Validate frontend and API runs-on: ubuntu-latest steps: - - uses: actions/checkout@v6 - - uses: actions/setup-node@v7 + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 with: node-version: 22 - cache: npm - run: npm ci --include=dev - run: npm run typecheck - run: npm run build - - - uses: actions/upload-artifact@v4 - with: - name: frontend-build - path: dist - if-no-files-found: error diff --git a/BACKEND.md b/BACKEND.md index 17f09b3..a12b3fa 100644 --- a/BACKEND.md +++ b/BACKEND.md @@ -32,4 +32,4 @@ Public course endpoints return only public lessons and public assets. Enrolment ## CI/CD status -GitHub Actions validates every pull request and every push to `main` by installing locked dependencies, type-checking the frontend and API, building the frontend, and uploading the production build as an artifact. Deployment remains intentionally unconfigured until the frontend and API hosting providers are chosen. +Gitea Actions validates every pull request and every push to `main` by installing locked dependencies, type-checking the frontend and API, and building the frontend. The workflow deliberately does not upload a build artifact: the current Gitea runner does not support `upload-artifact@v4`, and Portainer builds the deployment image directly from the repository.