Skip to content

Commit 97f197e

Browse files
committed
fix: install browser
1 parent 05fc024 commit 97f197e

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/dev.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,7 @@ jobs:
5555
node-version: ${{ matrix.node-version }}
5656
cache: 'pnpm'
5757
- name: Install dependencies
58-
run: |
59-
pnpm i --frozen-lockfile
60-
npx puppeteer browsers install
58+
run: pnpm i --frozen-lockfile
6159
- name: Get snapshot version
6260
env:
6361
TOKEN: ${{ secrets.SNAPSHOT_TOKEN }}
@@ -82,6 +80,7 @@ jobs:
8280
dist_firefox_v3
8381
- name: Test
8482
run: |
83+
npx puppeteer browsers install
8584
php -S 0.0.0.0:8899 -t $GITHUB_WORKSPACE/tests/simple-server &
8685
sleep 5
8786
npm run test:e2e

tests/e2e/utils.mjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ import { promisify } from 'util';
1010

1111
export const testServer = 'http://127.0.0.1:8899/';
1212
export const fxAddonUUID = 'f492d714-700a-4402-8b96-4ec9e829332d';
13+
1314
const browserList = {};
1415

1516
const __filename = fileURLToPath(import.meta.url);

0 commit comments

Comments
 (0)