-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from lost-pixel/add-lost-pixel
Add lost pixel
- Loading branch information
Showing
8 changed files
with
2,018 additions
and
146 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }}` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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", | ||
}; |
Oops, something went wrong.