Files
UT-Registration-Plus/.github/workflows/chromatic.yml
Razboy20 c122e744ef ci: update pnpm action (#86)
* ci: update pnpm action

* hotfix: change action type
2024-02-09 18:39:20 -06:00

27 lines
587 B
YAML

name: "Chromatic"
on: [push, pull_request_target]
jobs:
chromatic:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup pnpm
uses: pnpm/action-setup@v3
with:
version: 8
- name: Install dependencies
run: pnpm install
- name: Publish to Chromatic
uses: chromaui/action@latest
with:
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
exitZeroOnChanges: true
autoAcceptChanges: "main"