-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
fix: use postinstall for CI #3099
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: use postinstall for CI #3099
Conversation
|
@DanielRuf can you explain the rationale for this change? it looks like the fact that also, |
|
In the current docs (master) of patch-package, postinstall is used. Because Either we need this as prepush/commit/publish or Git hook. |
|
Err it works for me with yarn just fine. Which version did you try? |
The latest, 1.9.4. |
|
Also related to npm ci: |
|
Probably confused something but definitely a problem with npm ci. |
|
Ok, so if I'm understanding correctly it would be ok to switch back to |
|
Then many CI builds will be broken. For example we used and still use Ok if it is broken, revert it. At least I guess npm itself is broken then? |
|
I'm confused, which Travis build will break if we switch this back? |
|
The builds which use |
|
i'm not aware of any travis builds that build the p5.js project that use |
|
@DanielRuf If I am correct in what I've researched, the errors will only people building p5 directly with |
|
Ok, I think the # of end users trying to install with npm is probably larger than the number of developers trying to build from source using |
Running
npm cioryarnthrows an error becausepatch-packagecan not be found. Migrating frompreparetopostinstallsolves this.