55
55
restore-keys : |
56
56
${{ runner.os }}-yarn-
57
57
- run : yarn --prefer-offline --frozen-lockfile
58
- - run : npx aegir test -t node --bail --cov
58
+ - run : npm run test:node -- --bail --cov
59
59
- uses : codecov/codecov-action@v1
60
60
61
61
test-chrome :
78
78
restore-keys : |
79
79
${{ runner.os }}-yarn-
80
80
- run : yarn --prefer-offline --frozen-lockfile
81
- - run : npx aegir test -t browser -t webworker --bail
81
+ - run : npm run test: browser -- --bail
82
82
83
83
test-firefox :
84
84
name : Test Firefox
@@ -100,7 +100,7 @@ jobs:
100
100
restore-keys : |
101
101
${{ runner.os }}-yarn-
102
102
- run : yarn --prefer-offline --frozen-lockfile
103
- - run : npx aegir test -t browser -t webworker --bail -- --browser firefox
103
+ - run : npm run test: browser -- --bail -- --browser firefox
104
104
105
105
test-webkit :
106
106
name : Test Webkit
@@ -123,7 +123,7 @@ jobs:
123
123
restore-keys : |
124
124
${{ runner.os }}-yarn-
125
125
- run : yarn --prefer-offline --frozen-lockfile
126
- - run : npx aegir test -t browser -t webworker --bail -- --browser webkit
126
+ - run : npm run test: browser -- --bail -- --browser webkit
127
127
128
128
test-electron-main :
129
129
name : Test Electron Main
@@ -145,28 +145,4 @@ jobs:
145
145
restore-keys : |
146
146
${{ runner.os }}-yarn-
147
147
- run : yarn --prefer-offline --frozen-lockfile
148
- - run : npx xvfb-maybe aegir test -t electron-main --bail
149
-
150
- test-electron-renderer :
151
- name : Test Electron Renderer
152
- needs : check
153
- runs-on : ubuntu-latest
154
- steps :
155
- - uses : actions/setup-node@v2
156
- with :
157
- node-version : 16
158
- - uses : actions/checkout@v2
159
- - name : Get yarn cache directory path
160
- id : yarn-cache-dir-path
161
- run : echo "::set-output name=dir::$(yarn cache dir)"
162
- - uses : actions/cache@v2
163
- id : yarn-cache
164
- with :
165
- path : ${{ steps.yarn-cache-dir-path.outputs.dir }}
166
- key : ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
167
- restore-keys : |
168
- ${{ runner.os }}-yarn-
169
- - run : yarn --prefer-offline --frozen-lockfile
170
- - run : npx xvfb-maybe aegir test -t electron-renderer --bail
171
- env :
172
- ESBUILD_WORKER_THREADS : 0
148
+ - run : npm run test:electron-main -- --bail
0 commit comments