test
This commit is contained in:
parent
761de36e3b
commit
cce3b810c3
|
@ -27,7 +27,7 @@ jobs:
|
||||||
cache: "pnpm"
|
cache: "pnpm"
|
||||||
|
|
||||||
- name: Install packages
|
- name: Install packages
|
||||||
run: pnpm install --frozen-lockfile
|
run: pnpm install --frozen-lockfile && node ./node_modules/puppeteer/install.mjs
|
||||||
env:
|
env:
|
||||||
PUPPETEER_SKIP_DOWNLOAD: true
|
PUPPETEER_SKIP_DOWNLOAD: true
|
||||||
|
|
||||||
|
|
|
@ -16,7 +16,6 @@ try {
|
||||||
browser = await puppeteer.launch({
|
browser = await puppeteer.launch({
|
||||||
headless: true,
|
headless: true,
|
||||||
args: ['--no-sandbox', '--disable-setuid-sandbox'],
|
args: ['--no-sandbox', '--disable-setuid-sandbox'],
|
||||||
slowMo: 50,
|
|
||||||
});
|
});
|
||||||
const page = await browser.newPage();
|
const page = await browser.newPage();
|
||||||
await page.goto(server.resolvedUrls.local[0]);
|
await page.goto(server.resolvedUrls.local[0]);
|
||||||
|
|
Loading…
Reference in New Issue