Skip to content

Commit e688d0d

Browse files
committed
Add jobs for other versions of Firefox
1 parent bb54a27 commit e688d0d

File tree

1 file changed

+18
-8
lines changed

1 file changed

+18
-8
lines changed

.github/workflows/test.yml

+18-8
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
runs-on: ubuntu-22.04
1414
strategy:
1515
matrix:
16-
job: [lint, firefox]
16+
job: [lint, firefox, firefox-beta, firefox-nightly, firefox-esr]
1717
# job: [lint, firefox, edge-beta]
1818
include:
1919
- job: lint
@@ -23,6 +23,19 @@ jobs:
2323
- job: firefox
2424
INFO: "Firefox"
2525
BROWSER: "firefox"
26+
FIREFOX_VERSION: "latest"
27+
- job: firefox-beta
28+
INFO: "Firefox Beta"
29+
BROWSER: "firefox"
30+
FIREFOX_VERSION: "latest-beta"
31+
- job: firefox-nightly
32+
INFO: "Firefox Nightly"
33+
BROWSER: "firefox"
34+
FIREFOX_VERSION: "latest-nightly"
35+
- job: firefox-esr
36+
INFO: "Firefox ESR"
37+
BROWSER: "firefox"
38+
FIREFOX_VERSION: "latest-esr"
2639
# - job: edge-beta
2740
# INFO: "Edge Beta"
2841
# BROWSER: "microsoft-edge-beta"
@@ -45,18 +58,15 @@ jobs:
4558
node-version: '18.18.0' # Minimum version for eslint: https://eslint.org/docs/latest/use/getting-started
4659

4760
- name: Set up Firefox
48-
if: matrix.job == 'firefox'
61+
if: ${{ matrix.BROWSER == 'firefox' }}
4962
uses: browser-actions/setup-firefox@v1
5063
with:
51-
firefox-version: 'latest'
64+
firefox-version: ${{ matrix.FIREFOX_VERSION }}
5265

5366
- name: Install Gecko Driver
54-
if: matrix.job == 'firefox'
67+
if: ${{ matrix.BROWSER == 'firefox' }}
5568
uses: browser-actions/setup-geckodriver@latest
56-
- name: Check that Gecko Driver and Firefox are installed
57-
run: |
58-
geckodriver --version
59-
firefox --version
69+
6070
# - name: Install Browser Dependencies # Firefox documentation
6171
# run: |
6272
# sudo apt update

0 commit comments

Comments
 (0)