Skip to content

Commit

Permalink
Merge pull request #6 from MARU-EGG/BUG-#5
Browse files Browse the repository at this point in the history
[BUG-5] Chromatic CI Workflow 수정
  • Loading branch information
qwer0114 authored Jan 22, 2025
2 parents 7274e03 + 10efc89 commit c4478a1
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions .github/workflows/chromatic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,27 +20,24 @@ jobs:

steps:
- name: Check out code
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Use Node
uses: actions/setup-node@v3
with:
node-version: 18
- name: Install pnpm
run: npm install -g pnpm

- name: Install dependencies
run: npm install
run: pnpm install

- name: Build Storybook
run: npm run build-storybook
run: pnpm run build-storybook --output-dir=storybook-static

- name: Publish to Chromatic
id: chromatic
uses: chromaui/action@latest
with:
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
storybookBuildDir: /tmp/chromatic-storybook

- name: Comment PR with Storybook link
uses: thollander/actions-comment-pull-request@v1
Expand Down

0 comments on commit c4478a1

Please sign in to comment.