Skip to content

[FIX] 누락된 프로퍼티(argTypes) 추가 #26

[FIX] 누락된 프로퍼티(argTypes) 추가

[FIX] 누락된 프로퍼티(argTypes) 추가 #26

Workflow file for this run

name: 'Chromatic'
on:
pull_request:
paths:
- 'docs/storybook/**'
branches:
- main
types: [opened, reopened]
jobs:
chromatic:
runs-on: ubuntu-latest
env:
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
TURBO_TEAM: ${{ vars.TURBO_TEAM }}
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install pnpm
uses: pnpm/action-setup@v2
id: pnpm-install
with:
version: 8
run_install: false
- name: Get pnpm store directory
id: pnpm-cache
shell: bash
run: |
echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT
- name: Cache pnpm store
uses: actions/cache@v3
with:
path: ${{ steps.pnpm-cache.outputs.STORE_PATH }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store
- name: Install dependencies
run: pnpm install -no-frozen-lockfile
working-directory: docs/storybook
- name: Environment Variables
run: |
echo "CHROMATIC_PROJECT_TOKEN=${{ secrets.CHROMATIC_PROJECT_TOKEN }}" >> .env
cat .env
working-directory: docs/storybook
- name: Deploy Storybook
run: pnpm run deploy:storybook