Skip to content

Commit

Permalink
Update to latest chromatic package (#2410)
Browse files Browse the repository at this point in the history
Move from storybook-chroma to storybook-chromatic as the package is
being unified
  • Loading branch information
BPScott authored Nov 7, 2019
1 parent 5b11c38 commit 6f3df4e
Show file tree
Hide file tree
Showing 4 changed files with 395 additions and 161 deletions.
6 changes: 3 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
paths:
- node_modules
- run: yarn run test:percy
chromaui:
chroma:
docker:
- image: circleci/node:10.13.0-browsers
steps:
Expand All @@ -46,7 +46,7 @@ jobs:
key: v3-npm-deps-{{ arch }}-{{ checksum "yarn.lock" }}-{{ checksum ".yarnclean" }}
paths:
- node_modules
- run: npx chroma publish --build-script-name='storybook:build'
- run: yarn run chromatic publish --build-script-name='storybook:build'
a11y:
docker:
- image: circleci/node:10.13.0-browsers
Expand All @@ -69,5 +69,5 @@ workflows:
jobs:
- check
- percy
- chromaui
- chroma
- a11y
2 changes: 1 addition & 1 deletion .storybook/config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import 'storybook-chroma';
import 'storybook-chromatic';
import React from 'react';
import {
configure,
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@
"serve": "^11.1.0",
"shelljs": "^0.8.3",
"shx": "^0.3.2",
"storybook-chroma": "^2.2.2",
"storybook-chromatic": "^3.1.0",
"svgo": "^1.3.0",
"typescript": "~3.5.1"
},
Expand Down
Loading

0 comments on commit 6f3df4e

Please sign in to comment.