Skip to content

Commit

Permalink
Merge pull request #1 from lost-pixel/add-lost-pixel
Browse files Browse the repository at this point in the history
Add lost pixel
  • Loading branch information
d-ivashchuk authored Mar 4, 2024
2 parents 0baaaa9 + 63e4d7f commit 89b4508
Show file tree
Hide file tree
Showing 8 changed files with 2,018 additions and 146 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/vrt.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
on: [push]

jobs:
build:
runs-on: ubuntu-latest
name: Lost Pixel

steps:
- name: Checkout
uses: actions/checkout@v3

- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 16.x

- name: Install dependencies
run: npm install

- name: Build app
run: npm run build

- name: Start server (in background)
run: npm run start &

- name: Lost Pixel
uses: lost-pixel/[email protected]
env:
LOST_PIXEL_API_KEY: ${{ secrets.LOST_PIXEL_API_KEY }}`
17 changes: 17 additions & 0 deletions lostpixel.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
import type { CustomProjectConfig } from "lost-pixel";

export const config: CustomProjectConfig = {
pageShots: {
pages: [
{ path: "/", name: "landing" },
{
path: "/pricing",
name: "pricing",
},
{ path: "/cta", name: "cta" },
],
baseUrl: "http://172.17.0.1:3000",
},
lostPixelProjectId: "clgzaxi3701vdju0e5ivbpcd8",
apiKey: "234bec13-6164-4f33-8d82-35cb5f6568a6",
};
Loading

0 comments on commit 89b4508

Please sign in to comment.