Skip to content

Commit b72a5b0

Browse files
Tweak CI scripts
1 parent 7cd64dc commit b72a5b0

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

.travis.yml

+1-6
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,4 @@ language: node_js
22
node_js: 'lts/*'
33
cache: yarn
44
script:
5-
- yarn run typecheck
6-
- yarn run test
7-
- yarn run lint
8-
- yarn run build
9-
- yarn run test:versions
10-
- yarn run test:types
5+
- yarn run ci

package.json

+2
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414
"typecheck": "tsc",
1515
"build": "yarn clean && yarn rollup -c",
1616
"clean": "rimraf dist",
17+
"ci": "yarn lint && yarn test && yarn test:versions && yarn test:types && yarn typecheck && yarn build",
18+
"prepublish": "yarn install --frozen-lockfile && yarn ci",
1719
"prettier": "prettier './**/*.{js,ts,md,html,css}' --write",
1820
"prettier-list-different": "prettier './**/*.{js,ts,md,html,css}' --list-different"
1921
},

0 commit comments

Comments
 (0)