File tree Expand file tree Collapse file tree 3 files changed +26
-0
lines changed Expand file tree Collapse file tree 3 files changed +26
-0
lines changed Original file line number Diff line number Diff line change
1
+ # name of our action
2
+ name : " Chromatic Deployment"
3
+ # the event that will trigger the action
4
+ on : push
5
+
6
+ # what the action will do
7
+ jobs :
8
+ test :
9
+ # the operating system it will run on
10
+ runs-on : ubuntu-latest
11
+ # the list of steps that the action will go through
12
+ steps :
13
+ - uses : actions/checkout@v1
14
+ - run : yarn
15
+ - uses : chromaui/action@v1
16
+ # options required to the GitHub Chromatic action
17
+ with :
18
+ # Chromatic projectToken, see https://storybook.js.org/tutorials/visual-testing-handbook/react/en/automate/ to obtain it
19
+ projectToken : 385f9df90462
20
+ token : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 27
27
"@types/react" : " ^18.0.28" ,
28
28
"@types/react-dom" : " ^18.0.11" ,
29
29
"@vitejs/plugin-react" : " ^4.0.0-beta.0" ,
30
+ "chromatic" : " ^10.1.0" ,
30
31
"eslint" : " ^8.38.0" ,
31
32
"eslint-plugin-react" : " ^7.32.2" ,
32
33
"eslint-plugin-react-hooks" : " ^4.6.0" ,
Original file line number Diff line number Diff line change @@ -3453,6 +3453,11 @@ chownr@^2.0.0:
3453
3453
resolved "https://registry.yarnpkg.com/chownr/-/chownr-2.0.0.tgz#15bfbe53d2eab4cf70f18a8cd68ebe5b3cb1dece"
3454
3454
integrity sha512-bIomtDF5KGpdogkLd9VspvFzk9KfpyyGlS8YFVZl7TGPBHL5snIOnxeshwVgPteQ9b4Eydl+pVbIyE1DcvCWgQ==
3455
3455
3456
+ chromatic@^10.1.0 :
3457
+ version "10.1.0"
3458
+ resolved "https://registry.yarnpkg.com/chromatic/-/chromatic-10.1.0.tgz#d82f3045c297fb9a2d752aa1322d5fdb2cd3fd78"
3459
+ integrity sha512-S+ztO8f1k/LckuzJKCqaTs6AfUQ0eLNT9kEoyCUwX7gkJnveQo5JStCfY55v30zogjRkHJpwqzEfSXl6AwO2tQ==
3460
+
3456
3461
ci-info@^3.2.0 :
3457
3462
version "3.9.0"
3458
3463
resolved "https://registry.yarnpkg.com/ci-info/-/ci-info-3.9.0.tgz#4279a62028a7b1f262f3473fc9605f5e218c59b4"
You can’t perform that action at this time.
0 commit comments