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 installation not starting after package manager confirmation. #66

Merged
merged 2 commits into from
Apr 10, 2020

Conversation

marlonicus
Copy link
Contributor

Expected Behaviour
After receiving confirmation from the user that they would like to use yarn as their package manager, the script proceeds to install peer dependencies with yarn.

Current Behaviour
After receiving confirmation to use yarn, the script exits without installation.

Fix
Updated the implementation of promptly's confirm function to use a promise instead of a callback.

@marlonicus
Copy link
Contributor Author

I believe that failing test is due to the action not having privileges for the env variables; but let me know if you think otherwise.

@ljharb
Copy link
Collaborator

ljharb commented Jan 9, 2020

@nathanhleung PRs from forks can't ever access secrets, so any CI that depends on encrypted env vars will always fail on PRs from forks (ie, from anyone who's not a collaborator).

@vpicone
Copy link

vpicone commented Mar 25, 2020

@nathanhleung are you good with this? The yarn check is currently bailing out, meaning packageManager has to be explicitly defined.

@vilanz
Copy link

vilanz commented Mar 31, 2020

Experienced the same issue reported originally in #70. This very much deserves a merge.

@nathanhleung
Copy link
Owner

Sorry for the delay -- this was buried in my GitHub notifications!

@nathanhleung nathanhleung merged commit 1f007d8 into nathanhleung:master Apr 10, 2020
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.

5 participants