Skip to content

[FE] ์ง€๋„ ๊ธฐ๋Šฅ์—์„œ ์ฃผ์†Œ๊ฐ€ null ์ผ ๋•Œ ์˜ˆ์™ธ์ฒ˜๋ฆฌ๋ฅผ ํ•œ๋‹ค. #830

[FE] ์ง€๋„ ๊ธฐ๋Šฅ์—์„œ ์ฃผ์†Œ๊ฐ€ null ์ผ ๋•Œ ์˜ˆ์™ธ์ฒ˜๋ฆฌ๋ฅผ ํ•œ๋‹ค.

[FE] ์ง€๋„ ๊ธฐ๋Šฅ์—์„œ ์ฃผ์†Œ๊ฐ€ null ์ผ ๋•Œ ์˜ˆ์™ธ์ฒ˜๋ฆฌ๋ฅผ ํ•œ๋‹ค. #830

Workflow file for this run

name: "Chromatic"
on:
pull_request:
branches: [dev-fe, dev]
paths:
- "frontend/**"
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: 20
- name: Cache dependencies
id: cache
uses: actions/cache@v3
with:
path: "**/node_modules"
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: Install dependencies
if: steps.cache.outputs.cache-hit != 'true'
run: |
cd frontend
yarn install --frozen-lockfile
- name: Run Chromatic
uses: chromaui/action@latest
id: publish_chromatic
with:
workingDir: frontend
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
- name: Comment on PR
uses: thollander/actions-comment-pull-request@v2
with:
message: "๐Ÿš€ **storybook**: ${{ steps.publish_chromatic.outputs.storybookUrl }}"