Commit 83cd6b7 1 parent dd08e08 commit 83cd6b7 Copy full SHA for 83cd6b7
File tree 1 file changed +7
-6
lines changed
1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -25,23 +25,24 @@ jobs:
25
25
with :
26
26
submodules : true
27
27
28
- # Step 2: Set up Node.js (Adjust version as needed)
28
+ # Step 2: Set up Node.js
29
29
- name : Setup Node.js
30
30
uses : actions/setup-node@v3
31
31
with :
32
32
node-version : ' 18.18'
33
33
34
+ # Step 3: Install pnpm
34
35
- name : Install pnpm
35
36
run : npm install -g pnpm
36
37
37
- # Step 3: Install Dependencies
38
- - name : Install Dependencies
38
+ # Step 4: Use pnpm for workspace setup and build
39
+ - name : Install and Build with pnpm
39
40
run : |
40
41
cd docs
41
- pnpm i --frozen-lockfile
42
+ pnpm install --frozen-lockfile
42
43
pnpm run build
43
44
44
- # Step 4 : Deploy to Azure Static Web Apps (Preprod)
45
+ # Step 5 : Deploy to Azure Static Web Apps (Preprod)
45
46
- name : Deploy to Azure Static Web Apps (Preprod)
46
47
id : deploy
47
48
uses : Azure/static-web-apps-deploy@v1
54
55
app_artifact_location : ${{ env.APP_ARTIFACT_LOCATION }}
55
56
deployment_environment : " staging"
56
57
57
- # Step 5 : Post Deployment Feedback (Optional)
58
+ # Step 6 : Post Deployment Feedback (Optional)
58
59
- name : Post Deployment URL as PR Comment
59
60
if : success()
60
61
uses : actions/github-script@v6
You can’t perform that action at this time.
0 commit comments