stages: - install - build install: stage: install # cache: # paths: # - node_modules/ script: - echo "Installing packages" - whoami - cd /root/anzi-ui - git pull - npm install rules: - if: '$CI_COMMIT_BRANCH == "hfish-ui-v1.0.0"' tags: - "hfish-ui" build: stage: build script: - echo "Building" - whoami - ifconfig - cd /root/anzi-ui - git pull - npm run styleguide:build rules: - if: '$CI_COMMIT_BRANCH == "hfish-ui-v1.0.0"' tags: - "hfish-ui"