Skip to content

Commit 95aaa94

Browse files
committed
test: use ubuntu-latest
1 parent e46b916 commit 95aaa94

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/e2e.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ jobs:
66
test:
77
strategy:
88
matrix:
9-
os: [ubuntu-20.04, macos-latest]
9+
os: [ubuntu-latest, macos-latest]
1010
name: E2E Testing on ${{ matrix.os }}
1111
runs-on: ${{ matrix.os }}
1212
env:
@@ -16,24 +16,24 @@ jobs:
1616
with:
1717
fetch-depth: 0
1818
- name: Install node-canvas deps (macos)
19-
if: matrix.os != 'ubuntu-20.04'
19+
if: matrix.os != 'ubuntu-latest'
2020
run: brew install pkg-config cairo pango libpng jpeg giflib librsvg pixman
2121
- name: Install dependencies
2222
run: npm ci
2323
env:
2424
DETECT_CHROMEDRIVER_VERSION: true
2525
- name: Install xvfb (linux)
26-
if: matrix.os == 'ubuntu-20.04'
26+
if: matrix.os == 'ubuntu-latest'
2727
run: sudo apt-get install xvfb
2828
- name: Run E2E on chrome (linux)
29-
if: matrix.os == 'ubuntu-20.04'
29+
if: matrix.os == 'ubuntu-latest'
3030
run: xvfb-run --server-args="-screen 0, 1400x1000x24" --auto-servernum npm run test:e2e:chrome
3131
- name: Set screen resolution (windows)
3232
if: matrix.os == 'windows-latest'
3333
run: Set-DisplayResolution -Width 1920 -Height 1080 -Force
3434
shell: pwsh
3535
- name: Run E2E on chrome (non-linux)
36-
if: matrix.os != 'ubuntu-20.04'
36+
if: matrix.os != 'ubuntu-latest'
3737
run: npm run test:e2e:chrome
3838
- name: Archive test results
3939
if: success() || failure()

0 commit comments

Comments
 (0)