Skip to content

Commit

Permalink
update CI
Browse files Browse the repository at this point in the history
  • Loading branch information
ethriel3695 committed Jul 18, 2024
1 parent acde912 commit d7b041a
Show file tree
Hide file tree
Showing 3 changed files with 283 additions and 2,264 deletions.
28 changes: 12 additions & 16 deletions .github/workflows/chromatic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,20 +18,16 @@ jobs:
run: pnpm install
- name: build storybook
run: pnpm build-storybook
- name: run chromatic
run: pnpm chromatic
- name: Run Chromatic
id: run-chromatic-action
uses: chromaui/action@latest
with:
onlyChanged: true
traceChanged: true
zip: true
debug: true
exitZeroOnChanges: true
exitOnceUploaded: true
autoAcceptChanges: 'main'
env:
CHROMATIC_PROJECT_TOKEN: chpt_8adcafffd1b8cdc
# - name: Run Chromatic
# id: run-chromatic-action
# uses: chromaui/action-next@v1
# with:
# onlyChanged: true
# traceChanged: true
# diagnostics: true
# exitZeroOnChanges: true
# exitOnceUploaded: true
# autoAcceptChanges: "main"
# env:
# CHROMATIC_PROJECT_TOKEN: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
# STORYBOOK_GITHUB_SHA: ${{ github.event.pull_request.head.sha }}
CHROMATIC_PROJECT_TOKEN: chpt_d1f0c3a104744ba
13 changes: 6 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,17 +17,16 @@
},
"devDependencies": {
"@babel/core": "^7.18.13",
"@storybook/addon-actions": "^8.1.5",
"@storybook/addon-essentials": "^8.1.5",
"@storybook/react": "^8.1.5",
"@storybook/react-vite": "^8.1.5",
"@storybook/test": "^8.1.5",
"@storybook/addon-actions": "^8.2.4",
"@storybook/addon-essentials": "^8.2.4",
"@storybook/react": "^8.2.4",
"@storybook/react-vite": "^8.2.4",
"@storybook/test": "^8.2.4",
"@types/react": "^18.0.17",
"@types/react-dom": "^18.0.6",
"@vitejs/plugin-react": "^4.2.1",
"babel-loader": "^8.2.5",
"chromatic": "11.5.4--canary.1006.9474473692.0",
"storybook": "^8.1.5",
"storybook": "^8.2.4",
"typescript": "^5.3.3",
"vite": "^5.0.12",
"vite-plugin-turbosnap": "^1.0.3",
Expand Down
Loading

0 comments on commit d7b041a

Please sign in to comment.