pipeline: test: image: node:${NODE_VERSION} commands: - npm install - npm run build - npm run test publish: image: plugins/npm secrets: [ npm_username, npm_password, npm_email ] when: matrix: NODE_VERSION: 6 matrix: NODE_VERSION: - 6 - 7 - 8