@@ -73,17 +73,16 @@ jobs:
73
73
if : ${{ !contains(github.event.head_commit.message, '[failing]') }}
74
74
steps :
75
75
- name : Checkout code
76
- if : matrix.browser.product != 'firefox' || matrix.os != 'windows-latest'
77
76
uses : actions/checkout@v3
78
77
79
78
- name : Install Firefox
80
- if : matrix.browser.product == 'firefox' && matrix.os != 'windows-latest'
79
+ if : matrix.browser.product == 'firefox'
81
80
uses : browser-actions/setup-firefox@latest
82
81
with :
83
82
firefox-version : ${{ matrix.browser.version }}
84
83
85
84
- name : Install geckodriver
86
- if : matrix.browser.product == 'firefox' && matrix.os != 'windows-latest'
85
+ if : matrix.browser.product == 'firefox'
87
86
uses : browser-actions/setup-geckodriver@latest
88
87
with :
89
88
token : ${{ secrets.GITHUB_TOKEN }}
@@ -99,27 +98,23 @@ jobs:
99
98
cache : ' npm'
100
99
101
100
- name : Install dependencies
102
- if : matrix.browser.product != 'firefox' || matrix.os != 'windows-latest'
103
101
run : npm ci
104
102
env :
105
103
NODE_ENV : development
106
104
107
105
- name : Download transpiled code
108
- if : matrix.browser.product != 'firefox' || matrix.os != 'windows-latest'
109
106
uses : actions/download-artifact@v3
110
107
with :
111
108
name : builds
112
109
path : build/
113
110
114
111
- name : Download sourcemaps
115
- if : matrix.browser.product != 'firefox' || matrix.os != 'windows-latest'
116
112
uses : actions/download-artifact@v3
117
113
with :
118
114
name : sourcemaps
119
115
path : build/
120
116
121
117
- name : Run tests
122
- if : matrix.browser.product != 'firefox' || matrix.os != 'windows-latest'
123
118
run : npm run test:jest
124
119
env :
125
120
BROWSER : ${{ matrix.browser.product }}
0 commit comments