Skip to content

Merge pull request #563 from dreammall-earth/no-logs-in-unit-tests #192

Merge pull request #563 from dreammall-earth/no-logs-in-unit-tests

Merge pull request #563 from dreammall-earth/no-logs-in-unit-tests #192

name: "presenter:deploy:chromatic"
on:
push:
branches:
- master
jobs:
build-and-deploy:
name: Chromatic - Presenter
runs-on: ubuntu-latest
env:
CHROMATIC_PROJECT_TOKEN: ${{ secrets.CHROMATIC_PROJECT_TOKEN_PRESENTER }}
WORKING_DIRECTORY: ./presenter
steps:
- name: Set Node version
uses: actions/setup-node@v4
with:
node-version: '>=21'
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Presenter | Build
run: npm install && npm run chromatic -- --exit-zero-on-changes
working-directory: ${{env.WORKING_DIRECTORY}}