fixed: Set up Node.js 18 for the API

This commit is contained in:
lzh
2023-12-15 23:19:21 +08:00
parent 26649c289a
commit 28b324779d
@@ -19,6 +19,12 @@ jobs:
with:
submodules: true
lfs: false
# Set up Node.js 18 for the API
- name: Set up Node.js 18 for API
uses: actions/setup-node@v3
with:
node-version: '18'
- name: Build And Deploy
id: builddeploy
uses: Azure/static-web-apps-deploy@v1
@@ -29,7 +35,7 @@ jobs:
###### Repository/Build Configurations - These values can be configured to match your app requirements. ######
# For more information regarding Static Web App workflow configurations, please visit: https://aka.ms/swaworkflowconfig
app_location: "/front" # App source code path
api_location: "api" # Api source code path - optional
api_location: "/front/api" # Api source code path - optional
output_location: "dist/ng_front" # Built app content directory - optional
###### End of Repository/Build Configurations ######