Skip to content

Commit b417a30

Browse files
committed
oh it was in dev dependencies lol
1 parent 7329db2 commit b417a30

File tree

2 files changed

+15
-12
lines changed

2 files changed

+15
-12
lines changed

.github/workflows/azure-deploy.yml

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -26,16 +26,19 @@ jobs:
2626
with:
2727
node-version: ${{ env.NODE_VERSION }}
2828

29-
- name: 📦 Install & build
30-
run: |
31-
npm ci
32-
npm run build
33-
npm prune --production
29+
- name: 📦 Install dependencies
30+
run: npm ci
31+
32+
- name: 🏗️ Build application
33+
run: npm run build
34+
35+
- name: 🧹 Prune dev dependencies
36+
run: npm prune --production
3437

3538
- name: 📦 Package for deploy
3639
run: |
3740
zip -r pubsite.zip . \
38-
-x ".git/*" ".github/*" ".env.local"
41+
-x ".git/*" ".github/*" ".env.local" "node_modules/.cache/*"
3942
4043
- name: 🔐 Azure login (OIDC)
4144
uses: azure/login@v1
@@ -49,4 +52,4 @@ jobs:
4952
with:
5053
app-name: pubsite
5154
resource-group-name: ${{ env.RESOURCE_GROUP }}
52-
package: pubsite.zip
55+
package: pubsite.zip

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,14 @@
1717
"pm2:monit": "pm2 monit"
1818
},
1919
"dependencies": {
20-
"next": "^15.3.5",
20+
"next": "^14.2.0",
2121
"nodemailer": "^6.9.3",
2222
"react": "^18.2.0",
23-
"react-dom": "^18.2.0"
24-
},
25-
"devDependencies": {
23+
"react-dom": "^18.2.0",
2624
"autoprefixer": "^10.4.21",
2725
"postcss": "^8.5.6",
2826
"tailwindcss": "^3.4.17"
27+
},
28+
"devDependencies": {
2929
}
30-
}
30+
}

0 commit comments

Comments
 (0)