Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Adjust Travis CI to work again #2688

Merged
merged 1 commit into from
Aug 14, 2024
Merged

chore: Adjust Travis CI to work again #2688

merged 1 commit into from
Aug 14, 2024

Conversation

JF-Cozy
Copy link
Collaborator

@JF-Cozy JF-Cozy commented Aug 14, 2024

Several fixes here:

  • use puppeteer-core instead of puppeteer to avoid installing Chrome when installing node_modules (which caused a timeout)
  • you need to use node 18 to do this, but there's an SSL bug bypassed with the --openssl-legacy-provider option
  • as Chrome is not installed by default, we install it with addons in Travis script, and you need to specify its path when running puppeteer
  • we separate the installation of node_modules in a particular job, so that we can use the cache and avoid installing them at the start of each job

@JF-Cozy JF-Cozy force-pushed the chore/ci-travis branch 7 times, most recently from 728ca9e to 399bc09 Compare August 14, 2024 09:11
Several fixes here:
- use `puppeteer-core` instead of `puppeteer` to avoid installing Chrome when installing `node_modules` (which caused a timeout)
- you need to use node 18 to do this, but there's an SSL bug bypassed with the `--openssl-legacy-provider` option
- as Chrome is not installed by default, you need to specify its path when running `puppeteer`
- we separate the installation of `node_modules` in a particular job, so that we can use the cache and avoid installing them at the start of each job
@JF-Cozy JF-Cozy changed the title chore: Test with Travis chore: Adjust Travis CI to work again Aug 14, 2024
@JF-Cozy JF-Cozy merged commit 93c914b into master Aug 14, 2024
5 checks passed
@JF-Cozy JF-Cozy deleted the chore/ci-travis branch August 14, 2024 10:18
@cozy-bot
Copy link

🎉 This PR is included in version 111.6.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants