Skip to content

Commit

Permalink
fix: build command
Browse files Browse the repository at this point in the history
  • Loading branch information
[email protected] committed Sep 30, 2024
1 parent a68ab4c commit 39ede27
Showing 1 changed file with 16 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,22 @@ jobs:
with:
submodules: true
lfs: false

- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: 'lts/*' # Specify your node version
cache: 'pnpm'

- name: Install pnpm
run: npm install -g pnpm

- name: Install dependencies
run: pnpm install

- name: Build project
run: pnpm run build

- name: Build And Deploy
id: builddeploy
uses: Azure/static-web-apps-deploy@v1
Expand All @@ -29,7 +45,6 @@ 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: "/" # App source code path
app_build_command: "npm -g pnpm && pnpm install && pnpm build"
api_location: "" # Api source code path - optional
output_location: "dist" # Built app content directory - optional
###### End of Repository/Build Configurations ######
Expand Down

0 comments on commit 39ede27

Please sign in to comment.