Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
75 commits
Select commit Hold shift + click to select a range
0d68986
chore: move accordion visual
hirsch88 Oct 30, 2025
757e33d
chore: adjust screenshots
hirsch88 Oct 31, 2025
424ae0b
chore: adjust screenshots
hirsch88 Oct 31, 2025
90928a7
chore: adjust screenshots
hirsch88 Oct 31, 2025
af4fae6
update snapshots
hirsch88 Oct 31, 2025
a267cfa
chore: increase workers
hirsch88 Oct 31, 2025
7e8da8a
chore: update ci
hirsch88 Oct 31, 2025
af5798b
chore: update ci
hirsch88 Oct 31, 2025
8b4a0eb
chore: update ci
hirsch88 Oct 31, 2025
e1778cd
chore: update ci
hirsch88 Oct 31, 2025
bcbe925
update snapshots
hirsch88 Oct 31, 2025
8f06782
chore: update ci
hirsch88 Oct 31, 2025
cae1c38
Merge branch 'play/accordion' of github.com:baloise/design-system int…
hirsch88 Oct 31, 2025
0d1ef4f
chore: update ci
hirsch88 Oct 31, 2025
69dbad9
chore: update ci
hirsch88 Oct 31, 2025
ead7f66
chore: update ci
hirsch88 Oct 31, 2025
3cb87c4
chore: update ci
hirsch88 Oct 31, 2025
fc2d512
chore: update ci
hirsch88 Oct 31, 2025
df809be
chore: update ci
hirsch88 Oct 31, 2025
25e8f56
chore: update ci
hirsch88 Oct 31, 2025
3aa7342
chore: update ci
hirsch88 Oct 31, 2025
3f5956a
chore: update ci
hirsch88 Oct 31, 2025
b50eb85
chore: update ci
hirsch88 Oct 31, 2025
19a66b1
chore: update ci
hirsch88 Oct 31, 2025
8e5e530
chore: update ci
hirsch88 Oct 31, 2025
3013836
chore: add badge
hirsch88 Oct 31, 2025
1f0fc71
update snapshots
hirsch88 Oct 31, 2025
3cb9cfe
update snapshots
hirsch88 Oct 31, 2025
2cd992e
chore: add badge
hirsch88 Oct 31, 2025
a17c197
Merge branch 'play/accordion' of github.com:baloise/design-system int…
hirsch88 Oct 31, 2025
83389a0
chore: add badge
hirsch88 Oct 31, 2025
764ad09
chore: add badge
hirsch88 Oct 31, 2025
23ff720
chore: add badge
hirsch88 Oct 31, 2025
7bf918d
chore: update ci
hirsch88 Oct 31, 2025
4c1024c
chore: update ci comment bot
hirsch88 Oct 31, 2025
a9a35c2
chore: merge with main
hirsch88 Nov 1, 2025
e1b1e5c
chore: migrate first third
hirsch88 Nov 5, 2025
48f1563
chore: ci fix
hirsch88 Nov 5, 2025
090f103
chore: fix ci
hirsch88 Nov 5, 2025
285e093
chore: fix ci
hirsch88 Nov 5, 2025
ce91862
update snapshots
hirsch88 Nov 5, 2025
b9edae8
chore: create snapshots
hirsch88 Nov 5, 2025
97a7ee2
update snapshots
hirsch88 Nov 5, 2025
0c82c41
update snapshots
hirsch88 Nov 5, 2025
61c9d9b
update snapshots
hirsch88 Nov 5, 2025
1a71bb4
update snapshots
hirsch88 Nov 5, 2025
2ecae48
update snapshots
hirsch88 Nov 5, 2025
3e8cc49
update snapshots
hirsch88 Nov 5, 2025
da02402
update snapshots
hirsch88 Nov 5, 2025
8d3e76b
update snapshots
hirsch88 Nov 5, 2025
d8c6ba0
update snapshots
hirsch88 Nov 5, 2025
830814c
update snapshots
hirsch88 Nov 5, 2025
6a70084
update snapshots
hirsch88 Nov 5, 2025
4a9a1d5
update snapshots
hirsch88 Nov 5, 2025
8fe268f
update snapshots
hirsch88 Nov 5, 2025
e5648bc
update snapshots
hirsch88 Nov 5, 2025
a26e945
chore: migrate all visuals
hirsch88 Nov 6, 2025
940e21f
Merge branch 'play/accordion' of github.com:baloise/design-system int…
hirsch88 Nov 6, 2025
5322482
chore: skip failing tests
hirsch88 Nov 6, 2025
371c4ae
update snapshots
hirsch88 Nov 6, 2025
27c749d
chore: skip failing tests
hirsch88 Nov 6, 2025
719b9a2
chore: fix skipped tests
hirsch88 Nov 7, 2025
f78f30c
chore: reslove merge conflicts with main
hirsch88 Nov 7, 2025
d45e313
update snapshots
hirsch88 Nov 7, 2025
62bf9c8
update snapshots
hirsch88 Nov 7, 2025
b7e33b1
update snapshots
hirsch88 Nov 7, 2025
271dbd6
chore: fix skipped tests
hirsch88 Nov 7, 2025
4399cc0
chore: fix skipped tests
hirsch88 Nov 7, 2025
dac12f5
update snapshots
hirsch88 Nov 7, 2025
7f64c83
update snapshots
hirsch88 Nov 7, 2025
c2c48d4
chore: add shards again
hirsch88 Nov 7, 2025
820b76f
Merge branch 'play/accordion' of github.com:baloise/design-system int…
hirsch88 Nov 7, 2025
16f07e8
chore: adjust ci
hirsch88 Nov 7, 2025
d505662
chore: try pnpm
hirsch88 Nov 7, 2025
8e49cfa
chore: create hosting and add missing types
hirsch88 Nov 7, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
275 changes: 171 additions & 104 deletions .github/workflows/continuous.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,85 +11,208 @@ concurrency:
cancel-in-progress: true

jobs:
build:
name: 🏗️ Lint, Test & Build
runs-on: ubuntu-latest
timeout-minutes: 15
env:
HUSKY: 0
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: ./.github/workflows/actions/build
with:
build: true
token: ${{ secrets.GITHUB_TOKEN }}
# build:
# name: 🏗️ Lint, Test & Build
# runs-on: ubuntu-latest
# timeout-minutes: 15
# env:
# HUSKY: 0
# steps:
# - uses: actions/checkout@v4
# with:
# fetch-depth: 0
# - uses: ./.github/workflows/actions/build
# with:
# build: true
# token: ${{ secrets.GITHUB_TOKEN }}

e2e-components:
name: 🧪 Component Tests
runs-on: ubuntu-22.04
timeout-minutes: 30
env:
HUSKY: 0
needs: [build]
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: ./.github/workflows/actions/setup
- uses: ./.github/workflows/actions/e2e-setup
- uses: ./.github/workflows/actions/e2e-components
# e2e-components:
# name: 🧪 Component Tests
# runs-on: ubuntu-22.04
# timeout-minutes: 30
# env:
# HUSKY: 0
# needs: [build]
# steps:
# - uses: actions/checkout@v4
# with:
# fetch-depth: 0
# - uses: ./.github/workflows/actions/setup
# - uses: ./.github/workflows/actions/e2e-setup
# - uses: ./.github/workflows/actions/e2e-components

# e2e-visual:
# name: 🧪 E2E Tests
# runs-on: ubuntu-22.04
# timeout-minutes: 30
# env:
# HUSKY: 0
# needs: [build]
# strategy:
# fail-fast: false
# matrix:
# containers: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
# steps:
# - uses: actions/checkout@v4
# with:
# fetch-depth: 0
# - uses: ./.github/workflows/actions/setup
# - uses: ./.github/workflows/actions/e2e-setup
# - uses: ./.github/workflows/actions/e2e-visual

# angular:
# name: 🧪 Angular Tests
# runs-on: ubuntu-22.04
# timeout-minutes: 30
# env:
# HUSKY: 0
# strategy:
# fail-fast: false
# matrix:
# apps: [v18, v19, v20]
# needs: [build]
# steps:
# - uses: actions/checkout@v4
# with:
# fetch-depth: 0
# - uses: ./.github/workflows/actions/setup
# - uses: ./.github/workflows/actions/framework-setup
# with:
# app: ${{ matrix.apps }}
# - uses: ./.github/workflows/actions/framework-build
# with:
# app: ${{ matrix.apps }}
# framework: angular
# - uses: ./.github/workflows/actions/framework-test
# with:
# app: ${{ matrix.apps }}
# framework: angular

e2e-visual:
name: 🧪 E2E Tests
# react:
# name: 🧪 React Tests
# runs-on: ubuntu-22.04
# timeout-minutes: 30
# env:
# HUSKY: 0
# strategy:
# fail-fast: false
# matrix:
# apps: [v19]
# needs: [build]
# steps:
# - uses: actions/checkout@v4
# with:
# fetch-depth: 0
# - uses: ./.github/workflows/actions/setup
# - uses: ./.github/workflows/actions/framework-setup
# with:
# app: ${{ matrix.apps }}
# - uses: ./.github/workflows/actions/framework-build
# with:
# app: ${{ matrix.apps }}
# framework: react
# - uses: ./.github/workflows/actions/framework-test
# with:
# app: ${{ matrix.apps }}
# framework: react

assembleInformation:
name: 📝 Assemble Information
runs-on: ubuntu-22.04
timeout-minutes: 30
env:
HUSKY: 0
needs: [build]
strategy:
fail-fast: false
matrix:
containers: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
CI: true
outputs:
action: ${{ steps.action.outputs.url }}
branch: ${{ steps.branch.outputs.branch }}
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: ./.github/workflows/actions/setup
- uses: ./.github/workflows/actions/e2e-setup
- uses: ./.github/workflows/actions/e2e-visual
- name: Get Action URL
id: action
run: |
echo "url=https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}" >> $GITHUB_OUTPUT

- name: Get Branch Name
id: branch
# Determine branch reliably from the event payload.
# - For pull_request events use github.head_ref (the source branch name)
# - For push events parse GITHUB_REF (refs/heads/<branch>)
run: |
if [ "${{ github.event_name }}" = "pull_request" ]; then
echo "branch=${{ github.head_ref }}" >> $GITHUB_OUTPUT
else
# strip refs/heads/ prefix
BRANCH_NAME=${GITHUB_REF#refs/heads/}
echo "branch=$BRANCH_NAME" >> $GITHUB_OUTPUT
fi

playwright:
name: 🎭 Playwright
runs-on: ubuntu-22.04
timeout-minutes: 30
needs: [assembleInformation]
env:
HUSKY: 0
CI: 1
container:
image: mcr.microsoft.com/playwright:v1.50.1-noble
options: --user 1001
strategy:
fail-fast: false
matrix:
shardIndex: [1, 2, 3, 4, 5, 6] # six parallel jobs
shardTotal: [6] # total 6 shards
steps:
- name: Show inputs from previous job
run: |
echo "Branch from previous job: ${{ needs.assembleInformation.outputs.branch }}"
echo "Action: ${{ needs.assembleInformation.outputs.action }}"

- uses: actions/checkout@v4
with:
ref: ${{ needs.assembleInformation.outputs.branch }}
token: ${{ secrets.PRE_RELEASE_GITHUB_TOKEN }}
fetch-depth: 0
ref: ${{ github.head_ref }}

- uses: ./.github/workflows/actions/setup
- name: Install pnpm
uses: pnpm/action-setup@v4
with:
version: 10

- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 20
cache: 'pnpm' # optional helper

- name: Clean Install
run: npm ci
- name: Get pnpm store path
id: pnpm-store
run: echo "PNPM_STORE=$(pnpm store path --silent)" >> $GITHUB_ENV

- name: Cache pnpm store
uses: actions/cache@v4
with:
path: ${{ env.PNPM_STORE }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}-${{ hashFiles('**/package.json') }}
restore-keys: |
${{ runner.os }}-pnpm-store-

- name: Install dependencies
run: pnpm install --frozen-lockfile

- name: Build Core
run: npx nx run core:build
env:
BAL_PLAYWRIGHT_TESTING: 'true'

- name: Run Playwright tests
run: npx nx run core:e2e
# run: npx nx run core:e2e-update-screenshots
run: npx nx run core:ci-e2e -- --shard=${{ matrix.shardIndex }}/${{ matrix.shardTotal }}
# run: npx nx run core:ci-e2e -- --update-snapshots
env:
BAL_PLAYWRIGHT_TESTING: 'true'

# - name: Commit snapshots
# if: always()
# uses: EndBug/add-and-commit@v9
# with:
# message: 'update snapshots'
Expand All @@ -100,62 +223,6 @@ jobs:
if: always()
uses: actions/upload-artifact@v4
with:
name: playwright-report
name: playwright-report-shard-${{ matrix.shardIndex }}
path: packages/core/playwright-report
retention-days: 7

angular:
name: 🧪 Angular Tests
runs-on: ubuntu-22.04
timeout-minutes: 30
env:
HUSKY: 0
strategy:
fail-fast: false
matrix:
apps: [v18, v19, v20]
needs: [build]
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: ./.github/workflows/actions/setup
- uses: ./.github/workflows/actions/framework-setup
with:
app: ${{ matrix.apps }}
- uses: ./.github/workflows/actions/framework-build
with:
app: ${{ matrix.apps }}
framework: angular
- uses: ./.github/workflows/actions/framework-test
with:
app: ${{ matrix.apps }}
framework: angular

react:
name: 🧪 React Tests
runs-on: ubuntu-22.04
timeout-minutes: 30
env:
HUSKY: 0
strategy:
fail-fast: false
matrix:
apps: [v19]
needs: [build]
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: ./.github/workflows/actions/setup
- uses: ./.github/workflows/actions/framework-setup
with:
app: ${{ matrix.apps }}
- uses: ./.github/workflows/actions/framework-build
with:
app: ${{ matrix.apps }}
framework: react
- uses: ./.github/workflows/actions/framework-test
with:
app: ${{ matrix.apps }}
framework: react
Loading
Loading