Skip to content

Commit ce4e8e1

Browse files
committed
build: add pre-push scripts
1 parent 3a16d83 commit ce4e8e1

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

packages/eui-theme-borealis/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@
1010
"lint": "yarn tsc --noEmit && yarn lint-es && yarn lint-sass",
1111
"lint-es": "eslint --cache src/**/*.ts --max-warnings 0",
1212
"lint-sass": "yarn stylelint \"**/*.scss\" --quiet-deprecation-warnings",
13-
"test": "jest"
13+
"test": "jest",
14+
"pre-push": "yarn build:workspaces && yarn lint && yarn test"
1415
},
1516
"repository": {
1617
"type": "git",

packages/eui-theme-common/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@
1313
"lint": "yarn tsc --noEmit && yarn lint-es && yarn lint-sass",
1414
"lint-es": "eslint --cache src/**/*.ts --max-warnings 0",
1515
"lint-sass": "yarn stylelint \"**/*.scss\" --quiet-deprecation-warnings",
16-
"test": "jest"
16+
"test": "jest",
17+
"pre-push": "yarn lint && yarn test"
1718
},
1819
"repository": {
1920
"type": "git",

0 commit comments

Comments
 (0)