ci: fix canary installation on windows (#11615)

This commit is contained in:
Alex Rudenko 2024-01-02 14:41:34 +01:00 committed by GitHub
parent d11db4a0f2
commit 7a3d24bf57
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -53,7 +53,7 @@ jobs:
run: npm run build --workspace @puppeteer-test/test
- name: Install Chrome Canary
id: browser
run: node tools/download_chrome_bidi.mjs ~/.cache/puppeteer/chrome-canary
run: node tools/download_chrome_bidi.mjs $HOME/.cache/puppeteer/chrome-canary
- name: Run all tests (for non-Linux)
if: ${{ matrix.os != 'ubuntu-latest' }}
run: npm run test -- --shard '${{ matrix.shard }}' --test-suite ${{ matrix.suite }} --save-stats-to /tmp/artifacts/${{ github.event_name }}_INSERTID.json

View File

@ -193,7 +193,7 @@ jobs:
- name: Install Chrome Canary
if: ${{ matrix.suite == 'chrome-bidi' }}
id: browser
run: node tools/download_chrome_bidi.mjs ~/.cache/puppeteer/chrome-canary
run: node tools/download_chrome_bidi.mjs $HOME/.cache/puppeteer/chrome-canary
- name: Run all tests (for non-Linux)
if: ${{ matrix.os != 'ubuntu-latest' }}
run: npm run test -- --shard '${{ matrix.shard }}' --test-suite ${{ matrix.suite }} --save-stats-to /tmp/artifacts/${{ github.event_name }}_INSERTID.json