Skip to content

Commit 1272715

Browse files
Added cleanup step for version bump.
1 parent c0a8f4c commit 1272715

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/deploy.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ jobs:
1313
name: '🐳 Build & Deploy'
1414

1515
steps:
16+
1617
- name: '🔍 Checkout Code'
1718
uses: actions/checkout@v4
1819
with:
@@ -23,7 +24,6 @@ jobs:
2324
with:
2425
node-version: 20.x
2526

26-
2727
- name: "🧩 Install dependencies (npm)"
2828
run: npm install --legacy-peer-deps
2929

@@ -34,7 +34,6 @@ jobs:
3434
if: github.ref == 'refs/heads/main'
3535
run: node scripts/bumpVersion.js
3636

37-
3837
- name: '🔧 Configure Git for Automation'
3938
if: github.ref == 'refs/heads/main'
4039
run: |
@@ -50,6 +49,9 @@ jobs:
5049
git commit -m "chore: Auto-increment version [skip ci]" || echo "No changes to commit"
5150
git push
5251
52+
- name: "🧹 Version bump cleanup"
53+
run: rm -rf node_modules
54+
5355
- name: '�🔒 Verify Secrets Exist'
5456
run: |
5557
if [ -z "${{ secrets.GOOGLE_SERVICES_JSON_BASE64 }}" ]; then

0 commit comments

Comments
 (0)