Skip to content

feat: Storybook 세팅 및 storybook ci yml 파일 추가 #1

feat: Storybook 세팅 및 storybook ci yml 파일 추가

feat: Storybook 세팅 및 storybook ci yml 파일 추가 #1

name: storybook-test-and-deploy
on:push

Check failure on line 3 in .github/workflows/storybook-test-and-deploy.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/storybook-test-and-deploy.yml

Invalid workflow file

You have an error in your yaml syntax on line 3
jobs:
ui-test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@4
- uses: pnpm/action-setup@v4
name: Install pnpm
with:
run_install: false
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: 20
cache: 'pnpm'
- name: Install node modules
run: pnpm install
- name: Lint
run: pnpm lint
- name: deploy storybook&chromatic
uses: chromaui/action@latest
with:
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
autoAcceptChanges: "main"