kind: pipeline name: default steps: - name: build image: node:16.18.1 volumes: - name: build-file path: /dist commands: - npm install - npm run build - ls - cd dist - ls #- name: test # image: node:16.18.1 # commands: # - npm run test - name: deploy image: nginx:1.21 commands: - cp -r dist/. /usr/share/nginx/html