File tree Expand file tree Collapse file tree 1 file changed +22
-1
lines changed Expand file tree Collapse file tree 1 file changed +22
-1
lines changed Original file line number Diff line number Diff line change 1
1
tasks :
2
- - init : nvm install; nvm use; npm i -g npm@next-8; npm ci; cd examples/cdk; npm ci; cd ../sam; npm ci; cd ../../; npm run init-environment
2
+ - init : |
3
+ # Install Nodejs version specified in .nvmrc
4
+ nvm install
5
+ nvm use
6
+ # Install npm 8.x
7
+ npm i -g npm@next-8
8
+ # Install monorepo packages
9
+ npm ci
10
+ # Install CDK exampels dependencies
11
+ cd examples/cdk
12
+ npm ci
13
+ # Install SAM exampels dependencies
14
+ cd ../sam
15
+ npm ci
16
+ # Install AWS SAM CLI
17
+ wget https://github.com/aws/aws-sam-cli/releases/latest/download/aws-sam-cli-linux-x86_64.zip
18
+ unzip aws-sam-cli-linux-x86_64.zip -d sam-installation \
19
+ sudo ./sam-installation/install \
20
+ rm -rf sam-installation aws-sam-cli-linux-*
21
+ cd ../../
22
+ # Setup husky hooks
23
+ npm run init-environment
3
24
vscode :
4
25
extensions :
5
26
- dbaeumer.vscode-eslint
You can’t perform that action at this time.
0 commit comments