Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 3 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -474,7 +474,7 @@ jobs:
strategy:
fail-fast: false
matrix:
node: [10, 12, 14, 16, '18.13.0']
node: [10, 12, 14, 16, 18]
steps:
- name: Check out current commit (${{ needs.job_get_metadata.outputs.commit_label }})
uses: actions/checkout@v3
Expand Down Expand Up @@ -507,14 +507,12 @@ jobs:
path: ${{ steps.npm-cache-dir.outputs.dir }}
key: ${{ runner.os }}-Playwright-${{steps.playwright-version.outputs.version}}
- name: Install Playwright browser if not cached
if: steps.playwright-cache.outputs.cache-hit != 'true'
continue-on-error: true # playwright needs node >= 14
if: steps.playwright-cache.outputs.cache-hit != 'true' && matrix.node >= 14
run: npx playwright install --with-deps
env:
PLAYWRIGHT_BROWSERS_PATH: ${{steps.npm-cache-dir.outputs.dir}}
- name: Install OS dependencies of Playwright if cache hit
if: steps.playwright-cache.outputs.cache-hit == 'true'
continue-on-error: true # playwright needs node >= 14
if: steps.playwright-cache.outputs.cache-hit == 'true' && matrix.node >= 14
run: npx playwright install-deps
- name: Run tests
env:
Expand Down