File tree Expand file tree Collapse file tree 2 files changed +15
-12
lines changed
Expand file tree Collapse file tree 2 files changed +15
-12
lines changed Original file line number Diff line number Diff 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
4952 with :
5053 app-name : pubsite
5154 resource-group-name : ${{ env.RESOURCE_GROUP }}
52- package : pubsite.zip
55+ package : pubsite.zip
Original file line number Diff line number Diff line change 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+ }
You can’t perform that action at this time.
0 commit comments