Skip to content

General updates before the 14th release #3421

General updates before the 14th release

General updates before the 14th release #3421

Workflow file for this run

name: "Chromatic"
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 dependencies
run: npm install
- name: Install Node.js 18.x
uses: actions/setup-node@v1
with:
node-version: 18.x
registry-url: https://registry.npmjs.org/
- name: Publish to Chromatic
id: chromatic_publish
uses: chromaui/action@v1
with:
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
exitOnceUploaded: true
exitZeroOnChanges: true
workingDir: packages/lib
- name: Run Storybook Tests
run: |
cd packages/lib
npx playwright install --with-deps
npm run storybook:accessibility:ci
env:
TARGET_URL: "${{ steps.chromatic_publish.outputs.storybookUrl }}"