File tree Expand file tree Collapse file tree 3 files changed +22
-5
lines changed Expand file tree Collapse file tree 3 files changed +22
-5
lines changed Original file line number Diff line number Diff line change @@ -48,11 +48,18 @@ jobs:
48
48
run : npm install -g aws-cdk
49
49
50
50
- name : Build and link local package
51
- run : npm ci && npm run build && npm link
51
+ run : |
52
+ npm ci
53
+ npm audit --audit-level critical
54
+ npm run build
55
+ npm link
52
56
working-directory : ./src/typescript
53
57
54
58
- name : Install dependencies
55
- run : npm ci && npm link @aws/run-mcp-servers-with-aws-lambda
59
+ run : |
60
+ npm ci
61
+ npm audit --audit-level critical
62
+ npm link @aws/run-mcp-servers-with-aws-lambda
56
63
working-directory : ./examples/servers/weather-alerts
57
64
58
65
- name : Build
Original file line number Diff line number Diff line change @@ -178,6 +178,7 @@ jobs:
178
178
run : |
179
179
cp ../../README.md .
180
180
npm ci
181
+ npm audit --audit-level critical
181
182
npm publish --access public
182
183
env :
183
184
NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
Original file line number Diff line number Diff line change 16
16
node-version : 20
17
17
18
18
- name : Install dependencies
19
- run : npm ci
19
+ run : |
20
+ npm ci
21
+ npm audit --audit-level critical
20
22
working-directory : ./src/typescript
21
23
22
24
- name : Build
@@ -43,11 +45,18 @@ jobs:
43
45
node-version : 20
44
46
45
47
- name : Build and link local package
46
- run : npm ci && npm run build && npm link
48
+ run : |
49
+ npm ci
50
+ npm audit --audit-level critical
51
+ npm run build
52
+ npm link
47
53
working-directory : ./src/typescript
48
54
49
55
- name : Install dependencies
50
- run : npm ci && npm link @aws/run-mcp-servers-with-aws-lambda
56
+ run : |
57
+ npm ci
58
+ npm audit --audit-level critical
59
+ npm link @aws/run-mcp-servers-with-aws-lambda
51
60
working-directory : ./examples/chatbots/typescript
52
61
53
62
- name : Build
You can’t perform that action at this time.
0 commit comments