Skip to content

chore(internet-header,docs): improve and document the internet header main slot #1880

chore(internet-header,docs): improve and document the internet header main slot

chore(internet-header,docs): improve and document the internet header main slot #1880

Workflow file for this run

name: End to end tests
on:
pull_request:
paths:
- 'packages/documentation/**'
- 'packages/styles/**'
- 'packages/components/**'
- 'packages/internet-header/**'
- 'packages/icons/**'
workflow_dispatch:
jobs:
e2e:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup
uses: swisspost/design-system/.github/actions/setup-pnpm@main
with:
use_cache: false
- name: Cache cypress
uses: actions/cache@v3
with:
path: /home/runner/.cache/Cypress
key: ${{ runner.os }}-cypress-${{ hashFiles('./pnpm-lock.yaml') }}
restore-keys: ${{ runner.os }}-cypress-
- name: Install dependencies
run: pnpm install
- name: Install server
run: pnpm -g add http-server
- name: Build documentation & dependencies
run: pnpm --filter design-system-documentation... build
- name: Cypress info
run: pnpm --filter design-system-documentation exec cypress info
- name: Run tests
run: pnpm exec start-server-and-test 'http-server packages/documentation/storybook-static --silent --port 9001' 9001 'pnpm --filter "...[origin/main]" --workspace-concurrency=1 e2e'