Skip to content

Commit 2c352f8

Browse files
committed
travis output includes versioned list of installed packages / modules
Use the npm command for this since yarn does not currently limit the output to only installed packages (it displays all packages). The npm ls command seems to work fine even though we are trying to use yarn here to actually manage the dependencies. yarnpkg/yarn#3569
1 parent 1be7f64 commit 2c352f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ services:
44
install:
55
- docker build -t $BUILDING .
66
script:
7-
- docker run -v $TRAVIS_BUILD_DIR:/var/www/:ro -it $BUILDING yarn list
7+
- docker run -v $TRAVIS_BUILD_DIR:/var/www/:ro -it $BUILDING npm ls --depth 0
88
- docker run -v $TRAVIS_BUILD_DIR/__tests__/mock:/var/www/__tests__/mock/:ro --rm
99
-it $BUILDING yarn test
1010
after_success:

0 commit comments

Comments
 (0)