Skip to content

Commit fead955

Browse files
author
Jay Freestone
committed
ci(travis): Fix bundlesize task.
1 parent 1f65919 commit fead955

1 file changed

Lines changed: 7 additions & 4 deletions

File tree

.travis.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,23 @@ language: node_js
22
node_js:
33
- 10
44
cache:
5+
# Caches $HOME/.npm when npm ci is default script command
6+
# Caches node_modules in all other cases
7+
npm: true
58
directories:
6-
- "$HOME/.npm"
9+
# we also need to cache folder with Cypress binary
10+
- ~/.cache
711
jobs:
812
include:
913
- stage: test
1014
before_script: npm run build
1115
script: npm run test:ci
1216
- before_script: npm run build
13-
script: npm run bundlesize
17+
script: npx bundlesize
1418
- stage: release
1519
before_script: npm run build
1620
script: skip
1721
deploy:
1822
provider: script
1923
skip_cleanup: true
20-
script:
21-
- npx semantic-release
24+
script: npx semantic-release

0 commit comments

Comments
 (0)