Skip to content

Commit 1acb60b

Browse files
committed
ci: run demo's puppeteer scripts
1 parent 865d08a commit 1acb60b

File tree

1 file changed

+28
-2
lines changed

1 file changed

+28
-2
lines changed

.github/workflows/e2e-test.yml

Lines changed: 28 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,8 @@ jobs:
5757
zig-out/bin/lightpanda
5858
retention-days: 1
5959

60-
puppeteer:
61-
name: puppeteer
60+
puppeteer-perf:
61+
name: puppeteer-perf
6262
needs: zig-build-release
6363

6464
env:
@@ -105,3 +105,29 @@ jobs:
105105
echo "puppeteer avg duration: $PUPPETEER_AVG_DURATION"
106106
test "$PUPPETEER_AVG_DURATION" -le "$MAX_AVG_DURATION"
107107
108+
demo-scripts:
109+
name: demo-scripts
110+
needs: zig-build-release
111+
112+
runs-on: ubuntu-latest
113+
114+
steps:
115+
- uses: actions/checkout@v4
116+
with:
117+
repository: 'lightpanda-io/demo'
118+
fetch-depth: 0
119+
120+
- run: npm install
121+
122+
- name: download artifact
123+
uses: actions/download-artifact@v4
124+
with:
125+
name: lightpanda-build-release
126+
127+
- run: chmod a+x ./lightpanda
128+
129+
- name: run puppeteer links
130+
run: node puppeteer/links.js
131+
132+
- name: run puppeteer dump
133+
run: node puppeteer/dump.js

0 commit comments

Comments
 (0)