@@ -2,39 +2,50 @@ kind: pipeline
name: lang
steps:
- - name: test
+ - name: prepare
image: node
commands:
- npm install
- cd sdk
- - cd ..
+ - name: test
+ image: node
+ commands:
- npm run test:sunit
---
kind: pipeline
name: built-cli
- - name: build-and-test
- cd ..
- - npm run build:cli
- cd cli
- - npm test
+ - name: build
+ - npm run build:cli
+ - npm run test:e2e
name: installable-cli
+ - cd cli
+ - npm install
- name: install-and-test
environment:
AMBER_CLI: amber
- - cd cli
- - npm install
- npm install -g @ambers/cli