Skip to content

Commit c04e40d

Browse files
committed
chore: restore electron renderer ci job
1 parent e78bfd9 commit c04e40d

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.github/workflows/ci.yml

+21
Original file line numberDiff line numberDiff line change
@@ -151,3 +151,24 @@ jobs:
151151
- run: yarn --prefer-offline --frozen-lockfile
152152
- run: yarn run build
153153
- 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

0 commit comments

Comments
 (0)