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

ci(actions): migrate to GitHub Actions #41

Merged
merged 1 commit into from
Oct 5, 2022
Merged

Conversation

mloberg
Copy link
Contributor

@mloberg mloberg commented Aug 22, 2022

We shouldn't be using Travis anymore. Setup a workflow to run tests against Node 12, 14, and 16.

Dropped the coveralls npm package in favor of the action. As part of this work, I had to rework how coverage was being generated. The test:coverage script wasn't working, but calling nyc via npx is working. This way you could also generate the required lcov file with one script. If we want to be able to show coverage locally, we should talk about solutions as calling nyc from yarn doesn't seem to be working.

@mloberg mloberg force-pushed the feature/github-actions branch from 727dcf0 to 49eab75 Compare August 22, 2022 21:39
Remove Travis config. Remove coveralls npm package and use action instead
@mloberg mloberg force-pushed the feature/github-actions branch from 49eab75 to 087684d Compare August 22, 2022 21:40
@mloberg mloberg marked this pull request as ready for review August 23, 2022 15:12
@rpearce rpearce requested review from a team and removed request for a team August 23, 2022 17:50
Copy link
Contributor

@rpearce rpearce left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks stellar to me. Nice call on updating the .npmignore file (for other people: IMO, we should only be using the files property, an allow list, in package.json).

The coverage link in the checks area is cool, too!

@rpearce rpearce requested a review from a team August 23, 2022 18:02
@mloberg mloberg merged commit 8936c0b into main Oct 5, 2022
@mloberg mloberg deleted the feature/github-actions branch October 5, 2022 16:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants