File tree Expand file tree Collapse file tree 2 files changed +27
-0
lines changed Expand file tree Collapse file tree 2 files changed +27
-0
lines changed Original file line number Diff line number Diff line change 1+ {
2+ "type" : " feature" ,
3+ "category" : " CI" ,
4+ "description" : " add buildspec.yml from CodeBuild job"
5+ }
Original file line number Diff line number Diff line change 1+ version : 0.2
2+
3+ env :
4+ variables :
5+ AWS_REGION : " us-west-2"
6+ NODE_PATH : " /root/.nvm/v8.11.3/lib/node_modules"
7+ PATH : " /root/.nvm/versions/node/v8.11.3/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
8+
9+ phases :
10+ pre_build :
11+ commands :
12+ - echo use node 8.11.3
13+ - export NVM_DIR=~/.nvm && source ~/.nvm/nvm.sh && nvm install 8.11.3
14+ - echo use npm 3.10.10
15+ -
npm install -g [email protected] 16+ - echo Install npm dependencies
17+ - npm install
18+ - gem install rake
19+ build :
20+ commands :
21+ - echo Running Test
22+ - npm run test
You can’t perform that action at this time.
0 commit comments