diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 41b850d..a6d8b8c 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -26,6 +26,15 @@ jobs: run: | pip install ruff bandit + - name: Set up Node.js + uses: https://gitea.com/actions/setup-node@v4 + with: + node-version: "20" + + - name: Webapp (Next.js) build and test + run: | + cd webapp-next && npm ci && npm test && npm run build + - name: Lint with Ruff run: | ruff check duty_teller tests @@ -39,12 +48,3 @@ jobs: - name: Security check with Bandit run: | bandit -r duty_teller -ll - - - name: Set up Node.js - uses: https://gitea.com/actions/setup-node@v4 - with: - node-version: "20" - - - name: Webapp (Next.js) build and test - run: | - cd webapp-next && npm ci && npm test && npm run build