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

fix: make file and git dependencies work #141

Merged
merged 1 commit into from
Jul 4, 2020
Merged

fix: make file and git dependencies work #141

merged 1 commit into from
Jul 4, 2020

Conversation

JakeChampion
Copy link
Contributor

Currently if a dependency using the file:, git:, or github: protocols then this action fails to work because npm view will return a 404 for the dependency.

This is a link to a project which uses the github: protocol and shows the action failing to run -- https://github.com/Financial-Times/origami-component-converter/runs/832695920?check_suite_focus=true

My patch makes the github action ignore 404 errors and to surface other errors with their corresponding error message instead of just the exit code.

Copy link
Owner

@ybiquitous ybiquitous left a comment

Choose a reason for hiding this comment

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

@JakeChampion I really really appreciate your contribution! This change looks good to me. 🥰

@ybiquitous ybiquitous merged commit b6f6339 into ybiquitous:master Jul 4, 2020
@ybiquitous
Copy link
Owner

I've bumped the new version 1.2.1 and updated the tag v1! 🎉

Thank you so much, again!

@JakeChampion
Copy link
Contributor Author

Woohoo! Thanks for reviewing and releasing so swiftly @ybiquitous, I appreciate that very much 🙇

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.

2 participants