Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…ient into NABI-84
  • Loading branch information
juyeon-park committed Oct 30, 2023
2 parents 477ac22 + 969c403 commit 4763b0d
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 8 deletions.
20 changes: 13 additions & 7 deletions .github/workflows/chromatic.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,23 @@
name: 'Chromatic Deployment'
name: 'Chromatic'

on:
# 원하는 브랜치 명으로 바꿔주시면 됩니다.
push:
pull_request:
branches: ['develop']

jobs:
test:
chromatic-deployment:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- run: yarn
- uses: chromaui/action@v1
- name: Install dependencies
run: |
npm install -g pnpm
- name: Install Dependency
run: pnpm install

- name: Publish to Chromatic
uses: chromaui/action@v1

with:
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
token: ${{ secrets.GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"test": "vitest --run",
"storybook": "storybook dev -p 6006",
"build-storybook": "storybook build",
"chromatic": "npx chromatic --project-token=chpt_00fe989402301dc"
"chromatic": "bash ./scripts/chromatic_publish.sh"
},
"dependencies": {
"@radix-ui/react-avatar": "^1.0.4",
Expand Down

0 comments on commit 4763b0d

Please sign in to comment.