test: Add revive test with puppeteer (#185)

This commit is contained in:
Sylvain Cau
2022-05-14 12:28:41 +02:00
committed by GitHub
parent ec388f87fb
commit 2f053816f4
4 changed files with 35 additions and 2 deletions
+8
View File
@@ -35,6 +35,14 @@ jobs:
- name: Cache dependencies
run: deno cache --no-check src/cli/deps.ts src/runtime/deps.ts src/server/deps.ts
- name: Setup puppeteer linux / mac
if: startsWith(matrix.os, 'ubuntu') || startsWith(matrix.os, 'mac')
run: PUPPETEER_PRODUCT=chrome deno run -A --unstable https://deno.land/x/puppeteer@9.0.2/install.ts
- name: Setup puppeteer windows
if: startsWith(matrix.os, 'windows')
run: set "PUPPETEER_PRODUCT=chrome" && deno run -A --unstable https://deno.land/x/puppeteer@9.0.2/install.ts
- name: Run tests
run: deno test -A --no-check=remote