Skip to content

Commit c9442c2

Browse files
committed
feat: add build sample to CI
1 parent 01cade1 commit c9442c2

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/ci-nodejs.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,3 +37,6 @@ jobs:
3737
working-directory: nodejs
3838
- run: npm test
3939
working-directory: nodejs
40+
- name: Build AWS SDK Sample
41+
run: npm run build
42+
working-directory: nodejs/samples-apps/aws-sdk

nodejs/sample-apps/aws-sdk/package.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@
88
"repository": "open-telemetry/opentelemetry-lambda",
99
"scripts": {
1010
"clean": "rimraf build/*",
11-
"lint": "eslint . --ext .ts",
12-
"lint:fix": "eslint . --ext .ts --fix",
1311
"build": "npm run clean && npm run compile && npm run postcompile",
1412
"compile": "tsc -p .",
1513
"postcompile": "copyfiles 'package*.json' build/src/ && npm install --production --ignore-scripts --prefix build/src/ && cd build/src && bestzip ../function.zip *"

0 commit comments

Comments
 (0)