Skip to content

[Refactor] 편지 글자수 제한 50에서 400으로 증가 (#151) #184

[Refactor] 편지 글자수 제한 50에서 400으로 증가 (#151)

[Refactor] 편지 글자수 제한 50에서 400으로 증가 (#151) #184

Workflow file for this run

name: 'Chromatic Deployment'
on:
push:
branches: [ develop ]
pull_request:
branches: [ develop ]
permissions: write-all
jobs:
chromatic:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
- name: Setup pnpm
uses: pnpm/action-setup@v4
with:
version: 10.15.0
run_install: false
- name: Install dependencies
run: pnpm install
- name: Publish to Chromatic
id: chromatic
uses: chromaui/action@v1
with:
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
onlyChanged: true
exitOnceUploaded: true
- name: Comment PR
if: github.event_name == 'pull_request'
uses: thollander/actions-comment-pull-request@v2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
comment_tag: ${{github.event.number}}-storybook
message: '✨ Storybook: 🔗 ${{ steps.chromatic.outputs.storybookUrl }}'
edit_mode: update