Skip to content

Implement as functionalty to TabLink to avoid using an anchor while the href isn't passed #4583

Implement as functionalty to TabLink to avoid using an anchor while the href isn't passed

Implement as functionalty to TabLink to avoid using an anchor while the href isn't passed #4583

Workflow file for this run

name: "Chromatic & Storybook Tests"
on:
push:
branches:
- master
paths:
- "packages/lib/**"
pull_request:
paths:
- "packages/lib/**"
jobs:
chromatic-deployment:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Install Node.js 22.x
uses: actions/setup-node@v1
with:
node-version: 22.x
registry-url: https://registry.npmjs.org/
- name: Install dependencies
run: npm install
- name: Publish to Chromatic
uses: chromaui/action@v1
with:
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
exitOnceUploaded: true
exitZeroOnChanges: true
workingDir: packages/lib
forceRebuild: true
storybook-tests:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Install Node.js 22.x
uses: actions/setup-node@v1
with:
node-version: 22.x
registry-url: https://registry.npmjs.org/
- name: Install dependencies
run: npm install
- name: Run Storybook Tests
run: |
cd packages/lib
npx playwright install --with-deps
npm run test-storybook