Skip to content

Commit dcafeae

Browse files
committed
Updated to node 22
1 parent 59f6480 commit dcafeae

1 file changed

Lines changed: 7 additions & 9 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
name: '🚀 Deploy NestJS API Docker App'
32
permissions:
43
contents: write
@@ -13,24 +12,23 @@ jobs:
1312
name: '🐳 Build & Deploy'
1413

1514
steps:
16-
1715
- name: '🔍 Checkout Code'
1816
uses: actions/checkout@v4
1917
with:
2018
submodules: 'recursive'
2119

22-
- name: "📦 Setup Node.js"
20+
- name: '📦 Setup Node.js'
2321
uses: actions/setup-node@v4
2422
with:
25-
node-version: 20.x
23+
node-version: 22.x
2624

27-
- name: "🧩 Install dependencies (npm)"
25+
- name: '🧩 Install dependencies (npm)'
2826
run: npm install --legacy-peer-deps
2927

30-
- name: "🧩 Install semver for version bump"
28+
- name: '🧩 Install semver for version bump'
3129
run: npm install semver --legacy-peer-deps
3230

33-
- name: "🔄 Auto-bump version (main only)"
31+
- name: '🔄 Auto-bump version (main only)'
3432
if: github.ref == 'refs/heads/main'
3533
run: node scripts/bumpVersion.js
3634

@@ -49,7 +47,7 @@ jobs:
4947
git commit -m "chore: Auto-increment version [skip ci]" || echo "No changes to commit"
5048
git push
5149
52-
- name: "🧹 Version bump cleanup"
50+
- name: '🧹 Version bump cleanup'
5351
run: rm -rf node_modules
5452

5553
- name: '�🔒 Verify Secrets Exist'
@@ -139,7 +137,7 @@ jobs:
139137
# This ensures Docker rebuilds the prisma layer when the submodule is updated
140138
PRISMA_COMMIT=$(git submodule status prisma | awk '{print $1}' | sed 's/^+//')
141139
echo "Using Prisma submodule commit: $PRISMA_COMMIT"
142-
140+
143141
# Force a complete rebuild with no cache to ensure fresh prisma schema
144142
docker compose -p codebuilder build --no-cache api
145143

0 commit comments

Comments
 (0)