Skip to content

Commit 7e1c3b2

Browse files
committed
[Tests] pre-build the tests, only in CI
1 parent 4ce1954 commit 7e1c3b2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/test.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ jobs:
1313
with:
1414
range: '>= 0.4'
1515
type: majors
16-
command: npm run tests-only
16+
build-command: npx babel __tests__ --out-dir __tests-built__
17+
command: nyc tape '__tests-built__/**/*.js'
1718

1819
flow:
1920
name: Flow type checking

0 commit comments

Comments
 (0)