Skip to content

Commit

Permalink
Run JS tests in CI using ubuntu-latest
Browse files Browse the repository at this point in the history
  • Loading branch information
alexgibson committed Jun 13, 2024
1 parent c52e726 commit a714c23
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/pull_request_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,12 @@ on:

jobs:
test-js:
runs-on: ubuntu-20.04
# NB: this workflow fails on Ubuntu 22.04 (AKA ubuntu-latest) because the
# browsers are installed from Ubuntu Snaps, and on 22.04 there's currently
# an issue where FF lacks access to auto-create a profile, so it hangs.
# However, 20.04 is long-term support (LTS) until 2025: https://wiki.ubuntu.com/Releases
runs-on: ubuntu-latest
steps:
- name: "Install framebuffer (xvfb), Firefox and Chromium"
- name: "Install framebuffer (xvfb) and Chromium"
run: |
sudo apt-get update
sudo apt-get install chromium-browser firefox xvfb
sudo apt-get install chromium-browser xvfb
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
Expand Down

0 comments on commit a714c23

Please sign in to comment.