Skip to content

Commit

Permalink
Update chromatic scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
sudhons committed Aug 2, 2024
1 parent d9dbe82 commit 65c9fc5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/chromatic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- name: Install dependencies
run: npm ci --unsafe-perm
- name: Publish to Chromatic
uses: chromaui/action@v1
run: npx chromatic --project-token=$CHROMATIC_PROJECT_TOKEN
with:
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
buildScriptName: storybook:build
buildScriptName: storybook-build
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@
"predeploy": "run-s storybook:build build:docs build:coverage",
"deploy": "gh-pages -d gh-pages-dist",
"storybook": "npm run build:locales && NODE_OPTIONS=\"${NODE_OPTIONS} --openssl-legacy-provider\" FAST_REFRESH=false storybook dev -p 9009",
"storybook:build": "npm run build:locales && NODE_OPTIONS=\"${NODE_OPTIONS} --openssl-legacy-provider\" storybook build --quiet -o gh-pages-dist"
"storybook:build": "npm run build:locales && NODE_OPTIONS=\"${NODE_OPTIONS} --openssl-legacy-provider\" storybook build --quiet -o gh-pages-dist",
"storybook-build": "npm run build:locales && build-storybook"
},
"peerDependencies": {
"@mui/material": "^5.10.11",
Expand Down

0 comments on commit 65c9fc5

Please sign in to comment.