diff --git a/.github/workflows/azure-static-web-apps-nice-hill-040408303.yml b/.github/workflows/azure-static-web-apps-nice-hill-040408303.yml index 38d1099..df0a24c 100644 --- a/.github/workflows/azure-static-web-apps-nice-hill-040408303.yml +++ b/.github/workflows/azure-static-web-apps-nice-hill-040408303.yml @@ -19,6 +19,20 @@ jobs: with: submodules: true lfs: false + + - name: Set up Node.js + uses: actions/setup-node@v3 + with: + node-version: '18.19.0' # Set the Node.js version to 18.19.0 + + # Install project dependencies + - name: Install dependencies + run: npm install + + # Build the Angular app + - name: Build Angular app + run: npm run build + - name: Build And Deploy id: builddeploy uses: Azure/static-web-apps-deploy@v1 @@ -30,7 +44,7 @@ jobs: # For more information regarding Static Web App workflow configurations, please visit: https://aka.ms/swaworkflowconfig app_location: "/" # App source code path api_location: "" # Api source code path - optional - output_location: "angular.json#$.projects[*].architect.build.options.outputPath" # Built app content directory - optional + output_location: "dist/graph-web" # Built app content directory - optional ###### End of Repository/Build Configurations ###### close_pull_request_job: