forked from puppeteer/puppeteer
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: switch to npm from yarn (puppeteer#1878)
This patch: - migrates CI to use NPM - drops lockfiles (`yarn.lock`). Lockfiles are ignored by package managers when the package is installed as a dependency, so this makes CI closer to the installation our clients run.
- Loading branch information
1 parent
b61e67d
commit f2b6016
Showing
8 changed files
with
18 additions
and
1,244 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,4 +8,5 @@ | |
*.pyc | ||
.vscode | ||
package-lock.json | ||
yarn.lock | ||
/node6 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,28 +6,24 @@ addons: | |
# This is required to run new chrome on old trusty | ||
- libnss3 | ||
cache: | ||
yarn: true | ||
directories: | ||
- node_modules | ||
# allow headful tests | ||
before_install: | ||
- "export DISPLAY=:99.0" | ||
- "sh -e /etc/init.d/xvfb start" | ||
install: | ||
- yarn install | ||
# puppeteer's install script downloads Chrome | ||
script: | ||
- 'if [ "$NODE7" = "true" ]; then yarn run lint; fi' | ||
- 'if [ "$NODE7" = "true" ]; then yarn run coverage; fi' | ||
- 'if [ "$NODE7" = "true" ]; then yarn run test-doclint; fi' | ||
- 'if [ "$NODE6" = "true" ]; then yarn run unit-node6; fi' | ||
- 'if [ "$NODE7" = "true" ]; then npm run lint; fi' | ||
- 'if [ "$NODE7" = "true" ]; then npm run coverage; fi' | ||
- 'if [ "$NODE7" = "true" ]; then npm run test-doclint; fi' | ||
- 'if [ "$NODE6" = "true" ]; then npm run unit-node6; fi' | ||
jobs: | ||
include: | ||
- node_js: "7.6.0" | ||
env: NODE7=true | ||
- node_js: "6.4.0" | ||
env: NODE6=true | ||
before_deploy: "yarn run apply-next-version" | ||
before_deploy: "npm run apply-next-version" | ||
deploy: | ||
provider: npm | ||
email: [email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.