Skip to content

fix: use cross-end for storybook build #394

fix: use cross-end for storybook build

fix: use cross-end for storybook build #394

Workflow file for this run

name: CI
on:
pull_request:
branches:
- master
jobs:
build:
if: github.repository_owner == 'AxaFrance'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0 # 👈 Required to retrieve git history
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: '*'
cache: 'npm'
- run: npm ci
- run: npm run build
- run: npm run check
- run: npm test -- --coverage
- name: Publish to Chromatic
uses: chromaui/action@latest
with:
token: ${{ secrets.GITHUB_TOKEN }}
projectToken: 2af88e64d1ab
exitOnceUploaded: true
buildScriptName: 'storybook:build'