-
-
Notifications
You must be signed in to change notification settings - Fork 744
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: Józsi <[email protected]>
- Loading branch information
Showing
5 changed files
with
34 additions
and
27 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,30 +28,34 @@ cache: | |
|
||
# test against multiple puppeteer versions | ||
env: | ||
- PUPPETEER_VERSION=2.0.0 # Chromium 79.0.3942.0, Oct 24 2019 | ||
- PUPPETEER_VERSION=1.20.0 # Chromium 78.0.3882.0, Sep 13 2019 | ||
- PUPPETEER_VERSION=1.15.0 # Chromium 75.0.3765.0, Apr 26 2019 | ||
- PUPPETEER_VERSION=1.9.0 # Chromium 71.0.3563.0, Oct 4, 2018 | ||
- PUPPETEER_VERSION=1.6.2 # Chromium 69.0.3494.0, Aug 1, 2018 | ||
- PUPPETEER_VERSION=5.0.0 | ||
- PUPPETEER_VERSION=2.1.1 # Chromium 79.0.3942.0, Oct 24 2019 | ||
# - PUPPETEER_VERSION=2.0.0 # Chromium 79.0.3942.0, Oct 24 2019 | ||
# - PUPPETEER_VERSION=1.20.0 # Chromium 78.0.3882.0, Sep 13 2019 | ||
# - PUPPETEER_VERSION=1.15.0 # Chromium 75.0.3765.0, Apr 26 2019 | ||
# - PUPPETEER_VERSION=1.9.0 # Chromium 71.0.3563.0, Oct 4, 2018 | ||
# - PUPPETEER_VERSION=1.6.2 # Chromium 69.0.3494.0, Aug 1, 2018 | ||
|
||
script: | ||
# Make sure to use latest @next package | ||
# https://github.com/yarnpkg/yarn/issues/4731 | ||
|
||
# Fix for: error [email protected]: The platform "linux" is incompatible with this module. | ||
- npx json -I -f package.json -e 'this.resolutions={}' | ||
# - npx json -I -f package.json -e 'this.resolutions={"**/puppeteer":"'${PUPPETEER_VERSION}'"}' | ||
|
||
# Install older version when required | ||
- rm -rf ./node_modules/ | ||
- 'yarn; echo 0' | ||
- 'yarn lerna exec "rm -f yarn.lock; rm -rf node_modules; echo 0"' | ||
- 'rm -rf yarn.lock && yarn cache clean && rm -rf ./node_modules/puppeteer && yarn lerna add puppeteer@${PUPPETEER_VERSION}' | ||
# - 'yarn; echo 0' | ||
# - 'yarn lerna exec "rm -f yarn.lock; rm -rf node_modules; echo 0"' | ||
# - 'rm -rf yarn.lock && yarn cache clean && rm -rf ./node_modules/puppeteer && yarn lerna add puppeteer@${PUPPETEER_VERSION}' | ||
# - "yarn lerna exec --concurrency 1 'yarn set resolution --save puppeteer@* 5.0.0; echo 0'" | ||
|
||
- 'yarn' | ||
- 'yarn bootstrap' | ||
# - "yarn lerna exec --concurrency 1 'yarn build; echo 0'" | ||
- 'yarn lerna run build' | ||
- yarn lerna add puppeteer@${PUPPETEER_VERSION} | ||
- 'yarn lerna link' | ||
- 'yarn bootstrap' | ||
- 'yarn lerna run build --concurrency 1' | ||
|
||
# For debugging | ||
- yarn list puppeteer | ||
|
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