Skip to content

Commit 93b1c16

Browse files
committed
chore: build before test
1 parent 3dc97bd commit 93b1c16

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/ci.yml

+5
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ jobs:
5555
restore-keys: |
5656
${{ runner.os }}-yarn-
5757
- run: yarn --prefer-offline --frozen-lockfile
58+
- run: yarn run build
5859
- run: npm run test:node -- --bail --cov
5960
- uses: codecov/codecov-action@v1
6061

@@ -78,6 +79,7 @@ jobs:
7879
restore-keys: |
7980
${{ runner.os }}-yarn-
8081
- run: yarn --prefer-offline --frozen-lockfile
82+
- run: yarn run build
8183
- run: npm run test:browser -- --bail
8284

8385
test-firefox:
@@ -100,6 +102,7 @@ jobs:
100102
restore-keys: |
101103
${{ runner.os }}-yarn-
102104
- run: yarn --prefer-offline --frozen-lockfile
105+
- run: yarn run build
103106
- run: npm run test:browser -- --bail -- --browser firefox
104107

105108
test-webkit:
@@ -123,6 +126,7 @@ jobs:
123126
restore-keys: |
124127
${{ runner.os }}-yarn-
125128
- run: yarn --prefer-offline --frozen-lockfile
129+
- run: yarn run build
126130
- run: npm run test:browser -- --bail -- --browser webkit
127131

128132
test-electron-main:
@@ -145,4 +149,5 @@ jobs:
145149
restore-keys: |
146150
${{ runner.os }}-yarn-
147151
- run: yarn --prefer-offline --frozen-lockfile
152+
- run: yarn run build
148153
- run: npm run test:electron-main -- --bail

0 commit comments

Comments
 (0)