build(design-system): autorise les export default dans les dossiers d… #380
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Chromatic - Visual regression testing" | |
on: push | |
jobs: | |
chromatic: | |
name: Run Chromatic | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 22 | |
- name: Install dependencies | |
run: npm ci | |
- name: Build packages | |
run: npm run build | |
- uses: chromaui/action@latest | |
name: Run Chromatic for design-system-slash-react | |
with: | |
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN_SLASH_REACT }} | |
zip: true | |
buildScriptName: "build" | |
workingDir: "apps/slash-stories" | |
onlyChanged: true | |
- uses: chromaui/action@latest | |
name: Run Chromatic for design-system-slash-css | |
with: | |
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN_SLASH_CSS }} | |
zip: true | |
buildScriptName: "build" | |
workingDir: "apps/slash-stories-css" | |
onlyChanged: true | |
- uses: chromaui/action@latest | |
name: Run Chromatic for design-system-lookandfeel-react | |
with: | |
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN_LOOKANDFEEL_REACT }} | |
zip: true | |
buildScriptName: "build" | |
workingDir: "apps/look-and-feel-stories" | |
onlyChanged: true | |
- uses: chromaui/action@latest | |
name: Run Chromatic for design-system-lookandfeel-css | |
with: | |
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN_LOOKANDFEEL_CSS }} | |
zip: true | |
buildScriptName: "build" | |
workingDir: "apps/look-and-feel-stories-css" | |
onlyChanged: true |