12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273 |
- kind: pipeline
- name: lang
- steps:
- - name: check
- image: herbysk/drone-plugin-check-changes
- settings:
- ignore: [ "/**", "!/.drone.yml", "!/*.json", "!/*.js", "!/sdk/", "!/lang/" ]
- negative: .skip
- - name: prepare
- image: node:lts
- commands:
- - if [ -f .skip ]; then exit; fi
- - npm install
- - cd sdk
- - npm install
- - name: test
- image: node:lts
- commands:
- - if [ -f .skip ]; then exit; fi
- - npm run test:sunit
- ---
- kind: pipeline
- name: built-cli
- steps:
- - name: check
- image: herbysk/drone-plugin-check-changes
- settings:
- ignore: [ "/**", "!/.drone.yml", "!/*.json", "!/*.js", "!/sdk/", "!/lang/", "!/cli/", "/cli/dist/" ]
- negative: .skip
- - name: prepare
- image: node:lts
- commands:
- - if [ -f .skip ]; then exit; fi
- - npm install
- - cd sdk
- - npm install
- - cd ..
- - cd cli
- - npm install
- - name: build
- image: node:lts
- commands:
- - if [ -f .skip ]; then exit; fi
- - npm run build:cli
- - name: test
- image: node:lts
- commands:
- - if [ -f .skip ]; then exit; fi
- - npm run test:e2e
- ---
- kind: pipeline
- name: installable-cli
- steps:
- - name: check
- image: herbysk/drone-plugin-check-changes
- settings:
- ignore: [ "/**", "!/.drone.yml", "!/package.json", "!/Gruntfile.js", "!/sdk/", "!/cli/package.json", "!/cli/test/" ]
- negative: .skip
- - name: prepare
- image: node:lts
- commands:
- - if [ -f .skip ]; then exit; fi
- - cd cli
- - npm install
- - name: install-and-test
- image: node:lts
- environment:
- AMBER_CLI: amber
- commands:
- - if [ -f .skip ]; then exit; fi
- - npm install -g @ambers/cli
- - npm run test:e2e
|