Skip to content

Commit 5a251c1

Browse files
Adding tests to travis config
1 parent 58aacea commit 5a251c1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@ node_js:
33
- 11
44
script:
55
- yarn lint
6-
# - yarn test
6+
- yarn test
77
- yarn docs
88
- yarn validate-translations

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
"docs": "styleguidist build",
3131
"test": "jest",
3232
"docs-server": "styleguidist server",
33-
"build-translations": "yarn run babel --config-file ./babel.i18next-extract.json 'src/**/*.{js,jsx,ts,tsx}' --quiet",
33+
"build-translations": "yarn run babel --config-file ./babel.i18next-extract.json 'src/**/*.{js,jsx,ts,tsx}' --quiet && yarn lint-fix",
3434
"prettier": "prettier --list-different '**/*.{js,ts,md,json}' .eslintrc.json .prettierrc .babelrc",
3535
"prettier-fix": "prettier --write '**/*.{js,ts,md,json}' .eslintrc.json .prettierrc .babelrc",
3636
"eslint": "eslint '**/*.{js,md}' --max-warnings 0",

0 commit comments

Comments
 (0)