Skip to content

Commit 451868a

Browse files
authored
Merge pull request #1035 from aws/sync-preview/merge-main-20260429-v2
sync-preview: merge main into preview
2 parents fc1cd56 + c44d8c1 commit 451868a

3 files changed

Lines changed: 454 additions & 394 deletions

File tree

.github/workflows/build-and-test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ jobs:
8787
- run: npm ci
8888
- run: npm run build --if-present
8989
- name: Run unit tests (shard ${{ matrix.shard }})
90-
run: npx vitest run --project unit --shard=${{ matrix.shard }} --reporter=blob --reporter=verbose
90+
run: npx vitest run --project unit --shard=${{ matrix.shard }} --reporter=blob --reporter=verbose --coverage
9191
- name: Upload blob report
9292
if: always()
9393
uses: actions/upload-artifact@v7
@@ -144,6 +144,6 @@ jobs:
144144
with:
145145
json-summary-path: coverage/coverage-summary.json
146146
json-final-path: coverage/coverage-final.json
147-
vite-config-path: vitest.unit.config.ts
147+
vite-config-path: vitest.config.ts
148148
file-coverage-mode: none
149149
coverage-thresholds: '{ "lines": 50, "branches": 50, "functions": 50, "statements": 50 }'

.github/workflows/release-main-and-preview.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,7 @@ jobs:
120120
fs.writeFileSync('$TEMPLATE_PKG', JSON.stringify(pkg, null, 2) + '\n');
121121
"
122122
echo "✅ Updated @aws/agentcore-cdk: $CURRENT_CDK -> $LATEST_CDK"
123+
npm run test:update-snapshots
123124
fi
124125
fi
125126
@@ -218,6 +219,7 @@ jobs:
218219
fs.writeFileSync('$TEMPLATE_PKG', JSON.stringify(pkg, null, 2) + '\n');
219220
"
220221
echo "✅ Updated @aws/agentcore-cdk: $CURRENT_CDK -> $LATEST_CDK"
222+
npm run test:update-snapshots
221223
fi
222224
fi
223225

0 commit comments

Comments
 (0)