Skip to content

Added DTOs and polling by date #143

Added DTOs and polling by date

Added DTOs and polling by date #143

name: Chromatic Publish
on:
pull_request_target:
branches:
- main
jobs:
chromatic:
runs-on: ubuntu-latest
steps:
- name: Check out the PR head
uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.ref }}
repository: ${{ github.event.pull_request.head.repo.full_name }}
fetch-depth: 0
- name: Install dependencies
run: npm ci
- name: Chromatic publish
uses: chromaui/action@latest
with:
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
exitOnceUploaded: true
token: ${{ secrets.GITHUB_TOKEN }}