kind: pipeline type: docker name: default steps: - name: build_client image: node commands: - "cd Client" - "npm install" - "ls" - "node node_modules/@angular/cli/bin/ng build --prod" when: event: - push - pull_request - name: deploy image: node commands: - node --version when: event: - promote target: - production