Skip to content

Commit 3ae822b

Browse files
authored
Manually install Firefox on macos-latest image (#411)
macos-latest does not include Firefox yet. Manually running brew install --cask firefox on the firefox test job solves the problem.
1 parent 13cc928 commit 3ae822b

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/test.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,9 @@ jobs:
2121
with:
2222
node-version: 18.13.0
2323
- name: Install
24-
run: |
25-
npm install
24+
run: npm install
2625
- name: Run linters
27-
run: |
28-
npm run format
26+
run: npm run format
2927
- name: Check if anything changed
3028
run: |
3129
git_status="`LC_ALL=C git status --porcelain --ignore-submodules -unormal 2>&1`"
@@ -44,15 +42,17 @@ jobs:
4442
matrix:
4543
browser: [chrome, firefox, safari]
4644
steps:
45+
- name: Install Firefox
46+
if: ${{ matrix.browser == 'firefox' }}
47+
run: brew install --cask firefox
4748
- name: Checkout Branch
4849
uses: actions/checkout@v3
4950
- name: Setup Node
5051
uses: actions/setup-node@v3
5152
with:
5253
node-version: 18.13.0
5354
- name: Install
54-
run: |
55-
npm install
55+
run: npm install
5656
- name: Run tests
5757
run: |
5858
echo "Running in $BROWSER"

0 commit comments

Comments
 (0)