diff --git a/.gitea/workflows/ci.yaml b/.gitea/workflows/ci.yaml index 9df3720b..9336e13b 100644 --- a/.gitea/workflows/ci.yaml +++ b/.gitea/workflows/ci.yaml @@ -1,30 +1,16 @@ name: CI on: - pull_request: + push: branches: - main jobs: check: - runs-on: ubuntu-latest # Of 'shell' als je expliciet een lokale host-runner gebruikt + runs-on: shell # Jouw lokale runner steps: - # Stap 1: Laat Gitea Actions automatisch de juiste PR-code ophalen - # Dit vervangt de hele handmatige 'git clone / git fetch' bash-code - name: Checkout code uses: actions/checkout@v4 - # Stap 2: Installeer Node.js en pnpm - - name: Setup Node.js - uses: actions/setup-node@v4 - with: - node-version: 20 # Pas aan naar jouw Node-versie indien nodig - - - name: Setup pnpm - uses: pnpm/action-setup@v3 - with: - version: 9 # Pas aan naar jouw pnpm-versie indien nodig - - # Stap 3: Voer je checks uit - name: Typecheck, lint, and test env: SKIP_ENV_VALIDATION: 1 @@ -36,4 +22,4 @@ jobs: pnpm prisma:generate pnpm biome:lint pnpm typecheck - pnpm test + pnpm test \ No newline at end of file