ci: test of de pipeline start
This commit is contained in:
1 parent
5140784dc7
commit
54fa1aecdd
1 file changed
+3
-17
@@ -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
|
||||
Reference in new issue
Block a user