Skip to content

Commit c5f2b14

Browse files
committed
add test pregeneration to CI
1 parent a9d3d14 commit c5f2b14

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
],
1616
"scripts": {
1717
"build": "lerna run build",
18-
"ci": "yarn build && yarn lint && yarn test --ci && bundlesize",
18+
"ci": "yarn build && yarn lint && ./scripts/prepare.sh yarn test --ci && bundlesize",
1919
"dev": "WATCH_MODE=true lerna run build --parallel -- --watch",
2020
"format": "prettier --write \"**/*.{js,json,md}\"",
2121
"lint": "eslint .",

scripts/prepare.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#!/usr/bin/env bash
2+
13
set -xe
24

35
echo "building example"

0 commit comments

Comments
 (0)