We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2bbe8ee commit 98c9ce9Copy full SHA for 98c9ce9
2 files changed
.github/workflows/vrt.yml
@@ -0,0 +1,28 @@
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 }}
lostpixel.config.js
@@ -0,0 +1,7 @@
+module.exports = {
+ storybookShots: {
+ storybookUrl: './storybook-static',
+ },
+ lostPixelProjectId: 'cld08suck0455ke0vt3werogj',
+ apiKey: process.env.LOST_PIXEL_API_KEY,
+};
0 commit comments