Skip to content

Commit 3773ba5

Browse files
committed
chore: add steps to install infrastructure dependencies and clean up sensitive files
1 parent 3c10a1e commit 3773ba5

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

.github/workflows/code-quality.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,10 @@ jobs:
139139
echo "✅ All packages are up to date" >> $GITHUB_STEP_SUMMARY
140140
fi
141141
142+
- name: Install infrastructure dependencies
143+
working-directory: ./infrastructure
144+
run: npm ci
145+
142146
- name: Run infrastructure tests with detailed coverage
143147
working-directory: ./infrastructure
144148
run: |
@@ -218,6 +222,15 @@ jobs:
218222
echo "✅ All packages are up to date" >> $GITHUB_STEP_SUMMARY
219223
fi
220224
225+
- name: Clean up sensitive files
226+
if: always()
227+
run: |
228+
echo "🧹 Cleaning up sensitive files..."
229+
rm -f .env
230+
rm -f infrastructure/.env
231+
rm -rf infrastructure/cdk.out
232+
echo "✅ Sensitive files cleaned up"
233+
221234
- name: Archive test results
222235
if: always()
223236
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)