I have a team city build on Windows with 3 steps. I would like to include a bower step to install all dependencies from the bower.json in the project rather than checking in the lib folder.
Current steps are:
I'm not very familiar with node or teamcity and tried to do the following. In (1) added "install bower". Added a new step after (1) running node.js with "bower --force-latest" but was struggling with various errors. Please can someone give me a step by step explanation of how to get bower running or whether I should?
Figured it out:
1) installed grunt and bower onto the server
2) updated the PATH environment variables to include bower
3) rebooted the build box
4) added a command line build step running bower from the correct project working directory: bower install -f
it works! all bower packages installed. karma unit tests then work without moaning about dependencies! I can now remove the lib folder from the commit...
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With