File tree Expand file tree Collapse file tree 2 files changed +14
-12
lines changed Expand file tree Collapse file tree 2 files changed +14
-12
lines changed Original file line number Diff line number Diff line change 2828 npm install
2929 npm run build --if-present
3030 npm run test --if-present
31+ env :
32+ NODE_OPTIONS : " --max-old-space-size=6144"
3133
3234 - name : Upload artifact for deployment job
3335 uses : actions/upload-artifact@v4
@@ -38,22 +40,22 @@ jobs:
3840 deploy :
3941 runs-on : ubuntu-latest
4042 needs : build
41- permissions :
42- id-token : write # This is required for requesting the JWT
43- contents : read # This is required for actions/checkout
43+ permissions :
44+ id-token : write # This is required for requesting the JWT
45+ contents : read # This is required for actions/checkout
4446
4547 steps :
4648 - name : Download artifact from build job
4749 uses : actions/download-artifact@v4
4850 with :
4951 name : node-app
50-
51- - name : Login to Azure
52- uses : azure/login@v2
53- with :
54- client-id : ${{ secrets.AZUREAPPSERVICE_CLIENTID_A214A3C0191244938C1F540AE0784B17 }}
55- tenant-id : ${{ secrets.AZUREAPPSERVICE_TENANTID_5CCF304AF9F843A583AEF7B0F81ECA5F }}
56- subscription-id : ${{ secrets.AZUREAPPSERVICE_SUBSCRIPTIONID_46445F312B66482C990DC764E4218175 }}
52+
53+ - name : Login to Azure
54+ uses : azure/login@v2
55+ with :
56+ client-id : ${{ secrets.AZUREAPPSERVICE_CLIENTID_A214A3C0191244938C1F540AE0784B17 }}
57+ tenant-id : ${{ secrets.AZUREAPPSERVICE_TENANTID_5CCF304AF9F843A583AEF7B0F81ECA5F }}
58+ subscription-id : ${{ secrets.AZUREAPPSERVICE_SUBSCRIPTIONID_46445F312B66482C990DC764E4218175 }}
5759
5860 - name : ' Deploy to Azure Web App'
5961 id : deploy-to-webapp
Original file line number Diff line number Diff line change @@ -41,10 +41,10 @@ const config = {
4141 rspackBundler : true ,
4242 rspackPersistentCache : true , // 2-5x faster rebuilds
4343 mdxCrossCompilerCache : true ,
44- ssgWorkerThreads : true , // 2x faster static generation
44+ ssgWorkerThreads : false , // Disable in CI to reduce memory usage
4545 } ,
4646 v4 : {
47- removeLegacyPostBuildHeadAttribute : true , // Required for worker threads
47+ removeLegacyPostBuildHeadAttribute : true ,
4848 // useCssCascadeLayers: true, // Temporarily disabled - may cause style conflicts
4949 } ,
5050 } ,
You can’t perform that action at this time.
0 commit comments