Skip to content

Commit

Permalink
Use Yarn instead of npm
Browse files Browse the repository at this point in the history
  • Loading branch information
mjackson committed Sep 6, 2019
1 parent baac270 commit 48dca0f
Show file tree
Hide file tree
Showing 5 changed files with 6,282 additions and 10,010 deletions.
18 changes: 9 additions & 9 deletions .size-snapshot.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"esm/history.js": {
"bundled": 28364,
"minified": 12515,
"gzipped": 3683,
"bundled": 28076,
"minified": 12353,
"gzipped": 3575,
"treeshaked": {
"rollup": {
"code": 208,
Expand All @@ -14,13 +14,13 @@
}
},
"umd/history.js": {
"bundled": 33174,
"minified": 12021,
"gzipped": 3992
"bundled": 33021,
"minified": 11943,
"gzipped": 3917
},
"umd/history.min.js": {
"bundled": 30690,
"minified": 10155,
"gzipped": 3616
"bundled": 30384,
"minified": 9993,
"gzipped": 3501
}
}
8 changes: 4 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
language: node_js
node_js: node
cache: npm
cache: yarn
env:
- TEST_ENV=cjs BUILD_ENV=cjs
- TEST_ENV=umd BUILD_ENV=umd
- TEST_ENV=source
before_script:
- ([[ -z "$BUILD_ENV" ]] || npm run build)
- ([[ -z "$BUILD_ENV" ]] || yarn build)
script:
- npm run lint
- npm test
- yarn lint
- yarn test
jobs:
include:
- stage: Release
Expand Down
Loading

0 comments on commit 48dca0f

Please sign in to comment.