forked from aws-powertools/powertools-lambda-typescript
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitpod.yml
30 lines (30 loc) · 915 Bytes
/
.gitpod.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
tasks:
- init: |
# Install Nodejs version specified in .nvmrc
nvm install
nvm use
# Install npm 8.x
npm i -g npm@next-8
# Install monorepo packages
npm ci --foreground-scripts
# Install CDK exampels dependencies
cd examples/cdk
npm ci
# Install SAM exampels dependencies
cd ../sam
npm ci
# Install AWS SAM CLI
wget https://github.com/aws/aws-sam-cli/releases/latest/download/aws-sam-cli-linux-x86_64.zip
unzip aws-sam-cli-linux-x86_64.zip -d sam-installation
sudo ./sam-installation/install
rm -rf sam-installation aws-sam-cli-linux-*
cd ../../
# Setup husky hooks
npm run init-environment
vscode:
extensions:
- dbaeumer.vscode-eslint
- esbenp.prettier-vscode
- firsttris.vscode-jest-runner
- ms-azuretools.vscode-docker
- ms-vscode.vscode-typescript-tslint-plugin