Skip to content

Commit

Permalink
add chromatic command
Browse files Browse the repository at this point in the history
  • Loading branch information
takanorip committed Sep 20, 2024
1 parent 6516d11 commit 4d0c260
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,6 @@ jobs:
run: npx playwright install --with-deps
- name: Test
run: npm run test

- name: Chromatic
run: npm run chromatic
7 changes: 5 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@
"prestorybook": "npm run build",
"storybook": "storybook dev -p 6006",
"build-storybook": "storybook build",
"prepublishOnly": "npm run build"
"prepublishOnly": "npm run build",
"chromatic": "npx chromatic --exit-zero-on-changes --project-token=chpt_37d0a81ccfe372f"
},
"repository": {
"type": "git",
Expand Down Expand Up @@ -113,7 +114,9 @@
"react": "^17 || ^18",
"react-dom": "^18"
},
"author": "Ubie, Inc.",
"author": {
"name": "Ubie, Inc."
},
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/ubie-oss/ubie-ui/issues"
Expand Down

0 comments on commit 4d0c260

Please sign in to comment.