File tree Expand file tree Collapse file tree 5 files changed +20
-8
lines changed
lambda-layer/sample-apps/aws-sdk Expand file tree Collapse file tree 5 files changed +20
-8
lines changed Original file line number Diff line number Diff line change 3838 run : npm ci
3939 - name : Compile all NPM projects
4040 run : npm run compile
41+ - name : Build Lambda Layer
42+ run : npm run build-lambda
4143 - name : Unit tests (Full)
4244 run : npm run test:coverage
4345 - name : Report Coverage
Original file line number Diff line number Diff line change 1+ {
2+ "env": {
3+ "node": true
4+ },
5+ "extends": "airbnb-base",
6+ "parserOptions": {
7+ "sourceType": "script"
8+ },
9+ "rules": {
10+ "strict": ["error", "global"],
11+ "no-use-before-define": ["error", "nofunc"],
12+ "no-console": "off",
13+ "import/no-unresolved": "off",
14+ "no-unused-vars": ["error", { "argsIgnorePattern": "^_" }]
15+ }
16+ }
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ import { S3 } from '@aws-sdk/client-s3';
88
99const s3 = new S3 ( ) ;
1010
11- exports . handler = async ( event : APIGatewayProxyEvent , context : Context ) => {
11+ exports . handler = async ( _event : APIGatewayProxyEvent , _context : Context ) => {
1212 console . info ( 'Serving lambda request.' ) ;
1313
1414 const result = await s3 . listBuckets ( ) ;
Original file line number Diff line number Diff line change 1515 "version:update" : " lerna run version:update" ,
1616 "lint:readme" : " lerna run lint:readme" ,
1717 "compile" : " lerna run compile" ,
18+ "build-lambda" : " ./lambda-layer/build.sh" ,
1819 "prewatch" : " npm run precompile" ,
1920 "test" : " lerna run test" ,
2021 "test:coverage" : " lerna run test:coverage" ,
You can’t perform that action at this time.
0 commit comments