Skip to content

Commit 3f5ada3

Browse files
committed
Try Lost Pixel
1 parent 2bbe8ee commit 3f5ada3

File tree

2 files changed

+34
-0
lines changed

2 files changed

+34
-0
lines changed

.github/workflows/vrt.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
on: [push]
2+
3+
jobs:
4+
build:
5+
runs-on: ubuntu-latest
6+
name: Lost Pixel
7+
8+
steps:
9+
- name: Checkout
10+
uses: actions/checkout@v3
11+
12+
- name: Setup Node
13+
uses: actions/setup-node@v3
14+
with:
15+
node-version: 16.x
16+
cache: 'yarn'
17+
18+
- name: Install dependencies
19+
run: yarn install
20+
21+
- name: Build next
22+
run: yarn build-storybook
23+
24+
- name: Lost Pixel
25+
uses: lost-pixel/lost-pixel@next
26+
env:
27+
LOST_PIXEL_API_KEY: ${{ secrets.LOST_PIXEL_API_KEY }}

lostpixel.config.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
module.exports = {
2+
storybookShots: {
3+
storybookUrl: './storybook-static',
4+
},
5+
lostPixelProjectId: 'cld08suck0455ke0vt3werogj',
6+
apiKey: process.env.LOST_PIXEL_API_KEY,
7+
};

0 commit comments

Comments
 (0)