stages: - test - publish - publish_external image: node:10.15.0 test_icons: stage: test before_script: - npm install - npm i -g grunt script: - grunt test unit_test: stage: test before_script: - npm install - npm i -g mocha script: - npm run test npm_publish: stage: publish script: - npm install - npx semantic-release when: manual only: - master update:rubygem: stage: publish_external needs: ['npm_publish'] trigger: project: SUSE-UIUX/eos-icons-rails strategy: depend only: - master