Skip to content

Commit 8b41897

Browse files
committed
chore: updated gitpod.yml
1 parent 1ea4aa4 commit 8b41897

File tree

1 file changed

+22
-1
lines changed

1 file changed

+22
-1
lines changed

.gitpod.yml

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,26 @@
11
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
324
vscode:
425
extensions:
526
- dbaeumer.vscode-eslint

0 commit comments

Comments
 (0)