Skip to content

Commit 1ea9c12

Browse files
committed
More updates for npm ci. Include examples.
1 parent fa3b2e4 commit 1ea9c12

File tree

2 files changed

+2
-10
lines changed

2 files changed

+2
-10
lines changed

.travis.yml

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,4 @@ branches:
1313
- next
1414
cache:
1515
directories:
16-
- examples/async/node_modules
17-
- examples/counter/node_modules
18-
- examples/real-world/node_modules
19-
- examples/shopping-cart/node_modules
20-
- examples/todomvc/node_modules
21-
- examples/todos/node_modules
22-
- examples/todos-with-undo/node_modules
23-
- examples/tree-view/node_modules
24-
- examples/universal/node_modules
16+
- "$HOME/.npm"

examples/testAll.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ const exampleDirs = fs.readdirSync(__dirname).filter((file) => {
1313

1414
// Ordering is important here. `npm install` must come first.
1515
const cmdArgs = [
16-
{ cmd: 'npm', args: [ 'install', '--progress=false' ] },
16+
{ cmd: 'npm', args: [ 'ci' ] },
1717
{ cmd: 'npm', args: [ 'test' ] }
1818
]
1919

0 commit comments

Comments
 (0)