@@ -73,17 +73,16 @@ jobs:
7373 if : ${{ !contains(github.event.head_commit.message, '[failing]') }}
7474 steps :
7575 - name : Checkout code
76- if : matrix.browser.product != 'firefox' || matrix.os != 'windows-latest'
7776 uses : actions/checkout@v3
7877
7978 - name : Install Firefox
80- if : matrix.browser.product == 'firefox' && matrix.os != 'windows-latest'
79+ if : matrix.browser.product == 'firefox'
8180 uses : browser-actions/setup-firefox@latest
8281 with :
8382 firefox-version : ${{ matrix.browser.version }}
8483
8584 - name : Install geckodriver
86- if : matrix.browser.product == 'firefox' && matrix.os != 'windows-latest'
85+ if : matrix.browser.product == 'firefox'
8786 uses : browser-actions/setup-geckodriver@latest
8887 with :
8988 token : ${{ secrets.GITHUB_TOKEN }}
@@ -99,27 +98,23 @@ jobs:
9998 cache : ' npm'
10099
101100 - name : Install dependencies
102- if : matrix.browser.product != 'firefox' || matrix.os != 'windows-latest'
103101 run : npm ci
104102 env :
105103 NODE_ENV : development
106104
107105 - name : Download transpiled code
108- if : matrix.browser.product != 'firefox' || matrix.os != 'windows-latest'
109106 uses : actions/download-artifact@v3
110107 with :
111108 name : builds
112109 path : build/
113110
114111 - name : Download sourcemaps
115- if : matrix.browser.product != 'firefox' || matrix.os != 'windows-latest'
116112 uses : actions/download-artifact@v3
117113 with :
118114 name : sourcemaps
119115 path : build/
120116
121117 - name : Run tests
122- if : matrix.browser.product != 'firefox' || matrix.os != 'windows-latest'
123118 run : npm run test:jest
124119 env :
125120 BROWSER : ${{ matrix.browser.product }}
0 commit comments