Skip to content

Commit c5124ff

Browse files
committed
fix: electron tests
1 parent bb3ed8d commit c5124ff

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/main.yml

+4-2
Original file line numberDiff line numberDiff line change
@@ -63,11 +63,13 @@ jobs:
6363
steps:
6464
- uses: actions/checkout@v2
6565
- run: npm install
66-
- run: npx xvfb-maybe aegir test -t electron-main --bail
66+
- run: npm run build -- --esm-tests # build tests with esm
67+
- run: npx xvfb-maybe aegir test -t electron-main -f "dist/cjs/node-test/*js" --bail
6768
test-electron-renderer:
6869
needs: check
6970
runs-on: ubuntu-latest
7071
steps:
7172
- uses: actions/checkout@v2
7273
- run: npm install
73-
- run: npx xvfb-maybe aegir test -t electron-renderer --bail
74+
- run: npm run build -- --esm-tests # build tests with esm
75+
- run: npx xvfb-maybe aegir test -t electron-renderer -f "dist/cjs/node-test/*js" --bail

0 commit comments

Comments
 (0)