File tree 1 file changed +21
-0
lines changed
1 file changed +21
-0
lines changed Original file line number Diff line number Diff line change @@ -151,3 +151,24 @@ jobs:
151
151
- run : yarn --prefer-offline --frozen-lockfile
152
152
- run : yarn run build
153
153
- run : npx xvfb-maybe npm run test:electron-main -- --bail
154
+
155
+ test-electron-renderer :
156
+ name : Test Electron Renderer
157
+ needs : check
158
+ runs-on : ubuntu-latest
159
+ steps :
160
+ - uses : actions/setup-node@v2
161
+ with :
162
+ node-version : 16
163
+ - uses : actions/checkout@v2
164
+ - name : Get yarn cache directory path
165
+ id : yarn-cache-dir-path
166
+ run : echo "::set-output name=dir::$(yarn cache dir)"
167
+ - uses : actions/cache@v2
168
+ id : yarn-cache
169
+ with :
170
+ path : ${{ steps.yarn-cache-dir-path.outputs.dir }}
171
+ key : ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
172
+ restore-keys : |
173
+ ${{ runner.os }}-yarn-
174
+ - run : yarn --prefer-offline --frozen-lockfile
You can’t perform that action at this time.
0 commit comments