jitpack / jitci

A CI with tests, coverage, dependency audit, license & vuln. checks
https://jitci.com
19 stars 5 forks source link

How to install node modules before building android lib? #31

Open PratthamAroraUC opened 2 years ago

PratthamAroraUC commented 2 years ago

my project depends on node modules as a dependency. Without it, my project fails to compile.

I have manually pushed all the node modules in my repo and after that, I can get my project to build on Jitpack.

However, this approach is not sustainable.

How can I install node modules automatically on Jitpack rather than committing them to my repo

PratthamAroraUC commented 2 years ago

@jitpack-io any help here?

urbanclap-admin commented 2 years ago

any update on this? @jitpack-io

jitpack-io commented 2 years ago

Hi @PratthamAroraUC

You could use the custom commands in Init stage to install node/npm and then install npm packages.