Skip to content

Commit 2cbd507

Browse files
committed
run tests before version script
1 parent 92e6278 commit 2cbd507

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@
170170
"build-translations": "rm -rf .tmpi18ncache || true && mkdir .tmpi18ncache && yarn run babel --config-file ./babel.i18next-extract.js 'src/**/*.{js,jsx,ts,tsx}' --out-dir '.tmpi18ncache/' && rm -rf .tmpi18ncache && prettier --write 'src/i18n/*.{js,json}'",
171171
"validate-translations": "node scripts/validate-translations.js",
172172
"prepare": "yarn run build",
173-
"preversion": "make example-deps && git add yarn.lock && git add examples/*/yarn.lock",
173+
"preversion": "yarn install && yarn lint && yarn test && make example-deps && git add yarn.lock && git add examples/*/yarn.lock",
174174
"version": "yarn docs && git add docs && git add yarn.lock examples/*/yarn.lock",
175175
"postversion": "git push && git push --tags && npm publish"
176176
},

0 commit comments

Comments
 (0)