File tree Expand file tree Collapse file tree 2 files changed +35
-0
lines changed Expand file tree Collapse file tree 2 files changed +35
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Visual regression testing
2+ on : [push]
3+
4+ jobs :
5+ build :
6+ runs-on : ubuntu-latest
7+ name : Lost Pixel
8+
9+ steps :
10+ - name : Checkout
11+ uses : actions/checkout@v3
12+
13+ - name : Setup Node
14+ uses : actions/setup-node@v3
15+ with :
16+ node-version : 16.x
17+ cache : ' yarn'
18+
19+ - name : Install dependencies
20+ run : yarn install
21+
22+ - name : Build next
23+ run : yarn build-storybook
24+
25+ - name : Lost Pixel
26+ uses : lost-pixel/lost-pixel@next
27+ env :
28+ LOST_PIXEL_API_KEY : ${{ secrets.LOST_PIXEL_API_KEY }}
Original file line number Diff line number Diff line change 1+ module . exports = {
2+ storybookShots : {
3+ storybookUrl : './storybook-static' ,
4+ } ,
5+ lostPixelProjectId : 'cld08suck0455ke0vt3werogj' ,
6+ apiKey : process . env . LOST_PIXEL_API_KEY ,
7+ } ;
You can’t perform that action at this time.
0 commit comments