Skip to content

Commit

Permalink
set working directory
Browse files Browse the repository at this point in the history
  • Loading branch information
sudorock committed Dec 12, 2023
1 parent d23a706 commit ca4cef4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/chromatic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,13 @@ jobs:
fetch-depth: 0

- name: Install dependencies
working-directory: ./storybook
run: npm install

- name: Publish to Chromatic
uses: chromaui/action@latest
with:
workingDir: /storybook
workingDir: ./storybook
buildScriptName: build
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
zip: true
5 changes: 2 additions & 3 deletions storybook/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,9 @@
"type": "module",
"scripts": {
"dev": "npx storybook dev -p 3006",
"build": "npx storybook build",
"chromatic": "npx chromatic --build-script-name build"
"build": "npx storybook build"
},
"dependencies": {
"devDependencies": {
"@headlessui/tailwindcss": "0.2.0",
"@storybook/addon-actions": "^7.6.4",
"@storybook/addon-docs": "^7.6.4",
Expand Down

0 comments on commit ca4cef4

Please sign in to comment.