ci: trigger workflow on all branch pushes and fix component tests setup
- Changed push branch filter to wildcard '*' to test feature branches before merging - Kept the missing pnpm/node setup fix for the component-tests job
This commit is contained in:
@@ -2,7 +2,13 @@ name: CI
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [dev, main]
|
# ========================================================
|
||||||
|
# 🟢 START: TRIGER BEI JEDEM BRANCH-PUSH AKTIVIERT
|
||||||
|
# ========================================================
|
||||||
|
branches: ['*']
|
||||||
|
# ========================================================
|
||||||
|
# 🔴 ENDE: ÄNDERUNG
|
||||||
|
# ========================================================
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [dev, main]
|
branches: [dev, main]
|
||||||
|
|
||||||
@@ -69,6 +75,9 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
|
# ========================================================
|
||||||
|
# 🟢 ZUVOR HINZUGEFÜGT FÜR PNPM & NODE.JS SETUP
|
||||||
|
# ========================================================
|
||||||
- uses: actions/setup-node@v4
|
- uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: "22"
|
node-version: "22"
|
||||||
@@ -77,6 +86,7 @@ jobs:
|
|||||||
- run: corepack prepare pnpm@11.11.0 --activate
|
- run: corepack prepare pnpm@11.11.0 --activate
|
||||||
|
|
||||||
- run: pnpm install --frozen-lockfile
|
- run: pnpm install --frozen-lockfile
|
||||||
|
# ========================================================
|
||||||
|
|
||||||
- name: Run component tests (Docker)
|
- name: Run component tests (Docker)
|
||||||
run: pnpm test:component
|
run: pnpm test:component
|
||||||
|
|||||||
Reference in New Issue
Block a user