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
Migrate from Travis to GH actions #12412
Conversation
6e0ab97
to
82ee795
Compare
Build successful! You can test your changes in the REPL here: https://babeljs.io/repl/build/33579/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM if CI is green.
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. Latest deployment of this branch, based on commit 7ea3cc6:
|
env: | ||
BABEL_ENV: test | ||
|
||
external-parser-tests: |
This comment was marked as resolved.
This comment was marked as resolved.
Sorry, something went wrong.
Co-authored-by: Huáng Jùnliàng <jlhwung@gmail.com>
.github/workflows/ci.yml
Outdated
- uses: actions/cache@v2 | ||
with: | ||
path: ${{ steps.yarn-cache-dir-path.outputs.dir }} | ||
key: ${{ runner.os }}-yarn-${{ hashFiles('yarn.lock') }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The Yarn cache is identical on all OSes so you can have all the jobs share the same cache
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh thanks! I left it with the os name because I wasn't sure about it, but I'll update now.
I also cleaned up |
Co-authored-by: Kristoffer K. <merceyz@users.noreply.github.com>
@nicolo-ribaudo Any plans on moving the circle ci part to GH actions as well? Would probably save a minute each time the lockfile changes 🙂 |
* Migrate linting to GH actions * Migrate windows tests * Migrate parser tests * Update .github/workflows/ci.yml Co-authored-by: Huáng Jùnliàng <jlhwung@gmail.com> * Run parser tests in a single job * Use a single yarn cache * Remove unused commands from Makefile * Update .github/workflows/ci.yml Co-authored-by: Kristoffer K. <merceyz@users.noreply.github.com> Co-authored-by: Huáng Jùnliàng <jlhwung@gmail.com> Co-authored-by: Kristoffer K. <merceyz@users.noreply.github.com>
I got an email from travis a few days ago that they "migrated us to the new plan", and now Travis isn't running on our PRs anymore.
When I check why, I get this error:
Context : https://blog.travis-ci.com/2020-11-02-travis-ci-new-billing
We could write them an email asking for some free credits and their blog post says that they would probably give us those credits, but: