chore(CI): combine install Chrome jobs (#1557)

This commit is contained in:
Asher Gomez
2023-08-02 14:07:02 +02:00
committed by GitHub
parent a66f7217da
commit 71fc1b8efc
+4 -7
View File
@@ -51,13 +51,10 @@ jobs:
${{ matrix.cache_path }}deno_puppeteer
key: ${{ runner.os }}-${{ hashFiles('**/*deps.ts', 'tests/fixture_twind_hydrate/twind.config.ts') }}
- 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@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@16.2.0/install.ts
- name: Install Chromium
run: deno run -A --unstable https://deno.land/x/puppeteer@16.2.0/install.ts
env:
PUPPETEER_PRODUCT: chrome
- name: Type check project
run: deno task check:types