--- kind: pipeline name: deployment steps: - name: build image: node commands: - yarn install --frozen-lockfile - yarn build - name: test image: node commands: - yarn test depends_on: - build - name: lint image: node commands: - yarn lint depends_on: - build - name: deploy image: plugins/npm settings: username: vylpes password: from_secret: npm_password email: ethan@vylpes.com token: from_secret: npm_token depends_on: - test - lint trigger: branch: - master event: - push - tag --- kind: pipeline name: integration steps: - name: build image: node commands: - yarn install --frozen-lockfile - yarn build - name: test image: node commands: - yarn test depends_on: - build - name: lint image: node commands: - yarn lint depends_on: - build trigger: branch: - develop - feature/* - hotfix/* - renovate/* event: - push