Skip to content

Commit 6f87f04

Browse files
fix(ci): update snapshots after CDK version sync in release workflow (#848)
The release workflow syncs @aws/agentcore-cdk to the latest npm version but did not update the asset snapshot tests, causing the test-and-build job to fail with a snapshot mismatch.
1 parent c3921ec commit 6f87f04

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

.github/workflows/release.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,11 @@ jobs:
134134
echo "branch=release/v$NEW_VERSION" >> $GITHUB_OUTPUT
135135
echo "New version: $NEW_VERSION"
136136
137+
- name: Update snapshots after CDK sync
138+
run: |
139+
npm run test:update-snapshots
140+
echo "✓ Snapshots updated"
141+
137142
- name: Regenerate JSON schema
138143
run: |
139144
npm run build

0 commit comments

Comments
 (0)