@@ -120,7 +120,6 @@ 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
124123 fi
125124 fi
126125
@@ -147,6 +146,9 @@ jobs:
147146 node scripts/generate-schema.mjs
148147 npx prettier --write schemas/
149148
149+ - name : Update snapshots
150+ run : npm run test:update-snapshots
151+
150152 - name : Create release branch and PR
151153 env :
152154 GH_TOKEN : ${{ github.token }}
@@ -219,7 +221,6 @@ jobs:
219221 fs.writeFileSync('$TEMPLATE_PKG', JSON.stringify(pkg, null, 2) + '\n');
220222 "
221223 echo "✅ Updated @aws/agentcore-cdk: $CURRENT_CDK -> $LATEST_CDK"
222- npm run test:update-snapshots
223224 fi
224225 fi
225226
@@ -245,6 +246,9 @@ jobs:
245246 node scripts/generate-schema.mjs
246247 npx prettier --write schemas/
247248
249+ - name : Update snapshots
250+ run : npm run test:update-snapshots
251+
248252 - name : Create release branch and PR
249253 env :
250254 GH_TOKEN : ${{ github.token }}
0 commit comments