chore: update puppeteer (#659)
This commit is contained in:
@@ -41,32 +41,32 @@ jobs:
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: ~/.cache/deno/deno_puppeteer
|
||||
key: chrome-991974-${{ runner.os }}-${{ hashFiles('tests/deps.ts') }}
|
||||
restore-keys: chrome-991974-${{ runner.os }}-
|
||||
key: chrome-1022525-${{ runner.os }}-${{ hashFiles('tests/deps.ts') }}
|
||||
restore-keys: chrome-1022525-${{ runner.os }}-
|
||||
|
||||
- name: Cache Chrome (macOS)
|
||||
if: startsWith(matrix.os, 'mac')
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: ~/Library/Caches/deno/deno_puppeteer
|
||||
key: chrome-991974-${{ runner.os }}-${{ hashFiles('tests/deps.ts') }}
|
||||
restore-keys: chrome-991974-${{ runner.os }}-
|
||||
key: chrome-1022525-${{ runner.os }}-${{ hashFiles('tests/deps.ts') }}
|
||||
restore-keys: chrome-1022525-${{ runner.os }}-
|
||||
|
||||
- name: Cache Chrome (Windows)
|
||||
if: startsWith(matrix.os, 'win')
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: "C:\\Users\\RUNNER~1\\AppData\\Local\\deno\\deno_puppeteer"
|
||||
key: chrome-991974-${{ runner.os }}-${{ hashFiles('tests/deps.ts') }}
|
||||
restore-keys: chrome-991974-${{ runner.os }}-
|
||||
key: chrome-1022525-${{ runner.os }}-${{ hashFiles('tests/deps.ts') }}
|
||||
restore-keys: chrome-1022525-${{ runner.os }}-
|
||||
|
||||
- name: Install Chromium (Unix)
|
||||
if: startsWith(matrix.os, 'ubuntu') || startsWith(matrix.os, 'mac')
|
||||
run: PUPPETEER_PRODUCT=chrome deno run -A --unstable https://deno.land/x/puppeteer@14.1.1/install.ts
|
||||
run: PUPPETEER_PRODUCT=chrome deno run -A --unstable https://deno.land/x/puppeteer@16.2.0/install.ts
|
||||
|
||||
- name: Install Chromium (Windows)
|
||||
if: startsWith(matrix.os, 'windows')
|
||||
run: set "PUPPETEER_PRODUCT=chrome" && deno run -A --unstable https://deno.land/x/puppeteer@14.1.1/install.ts
|
||||
run: set "PUPPETEER_PRODUCT=chrome" && deno run -A --unstable https://deno.land/x/puppeteer@16.2.0/install.ts
|
||||
|
||||
- name: Run tests
|
||||
run: deno test -A
|
||||
|
||||
+1
-1
@@ -13,4 +13,4 @@ export {
|
||||
TextLineStream,
|
||||
} from "https://deno.land/std@0.150.0/streams/delimiter.ts";
|
||||
export { delay } from "https://deno.land/std@0.150.0/async/delay.ts";
|
||||
export { default as puppeteer } from "https://deno.land/x/puppeteer@14.1.1/mod.ts";
|
||||
export { default as puppeteer } from "https://deno.land/x/puppeteer@16.2.0/mod.ts";
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import puppeteer from "https://deno.land/x/puppeteer@14.1.1/mod.ts";
|
||||
import puppeteer from "https://deno.land/x/puppeteer@16.2.0/mod.ts";
|
||||
|
||||
const url = Deno.args[0];
|
||||
const id = Deno.args[1];
|
||||
|
||||
Reference in New Issue
Block a user