ci: test of de pipeline start
This commit is contained in:
1 parent
5140784dc7
commit
54fa1aecdd
1 file changed
+2
-16
@@ -1,30 +1,16 @@
|
|||||||
name: CI
|
name: CI
|
||||||
on:
|
on:
|
||||||
pull_request:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- main
|
- main
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
check:
|
check:
|
||||||
runs-on: ubuntu-latest # Of 'shell' als je expliciet een lokale host-runner gebruikt
|
runs-on: shell # Jouw lokale runner
|
||||||
steps:
|
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
|
- name: Checkout code
|
||||||
uses: actions/checkout@v4
|
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
|
- name: Typecheck, lint, and test
|
||||||
env:
|
env:
|
||||||
SKIP_ENV_VALIDATION: 1
|
SKIP_ENV_VALIDATION: 1
|
||||||
|
|||||||
Reference in new issue
Block a user