I have a single sprinboot jar which also includes a SPA Angular frontend. To build this I need mvn java node and yarn
I have setup mvn and java using image. How can I also setup env to have node?
# This is a sample build configuration for Java (Maven).
# Check our guides at https://confluence.atlassian.com/x/zd-5Mw for more examples.
# Only use spaces to indent your .yml configuration.
# -----
# You can specify a custom docker image from Docker Hub as your build environment.
image: maven:3.6.1-jdk-8
pipelines:
branches:
release/prod-release:
- step:
caches:
- maven
- node
script: # Modify the commands below to build your repository.
- apt install nodejs
- echo "Running.. verifying"
- node -v
- npm install -g yarn
- mvn clean install -Pfront