Skip to content

Commit 2ab0469

Browse files
Update test_codepush-csh.yml
1 parent 381924d commit 2ab0469

File tree

1 file changed

+11
-10
lines changed

1 file changed

+11
-10
lines changed

.github/workflows/test_codepush-csh.yml

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ jobs:
2323

2424
- name: npm install, build, and test
2525
run: |
26+
cd api
2627
npm install
2728
npm run build --if-present
2829
npm run test --if-present
@@ -42,8 +43,8 @@ jobs:
4243
environment:
4344
name: 'Production'
4445
url: ${{ steps.deploy-to-webapp.outputs.webapp-url }}
45-
permissions:
46-
id-token: write #This is required for requesting the JWT
46+
permissions:
47+
id-token: write #This is required for requesting the JWT
4748

4849
steps:
4950
- name: Download artifact from build job
@@ -53,13 +54,13 @@ jobs:
5354

5455
- name: Unzip artifact for deployment
5556
run: unzip release.zip
56-
57-
- name: Login to Azure
58-
uses: azure/login@v2
59-
with:
60-
client-id: ${{ secrets.AZUREAPPSERVICE_CLIENTID_F807E901885C4F508DBCC997B3D61126 }}
61-
tenant-id: ${{ secrets.AZUREAPPSERVICE_TENANTID_A8B1F0D3BC1E40CF819A6DCB4DC4D370 }}
62-
subscription-id: ${{ secrets.AZUREAPPSERVICE_SUBSCRIPTIONID_C4421F340BA2403486DA4E4ABD4045A3 }}
57+
58+
- name: Login to Azure
59+
uses: azure/login@v2
60+
with:
61+
client-id: ${{ secrets.AZUREAPPSERVICE_CLIENTID_F807E901885C4F508DBCC997B3D61126 }}
62+
tenant-id: ${{ secrets.AZUREAPPSERVICE_TENANTID_A8B1F0D3BC1E40CF819A6DCB4DC4D370 }}
63+
subscription-id: ${{ secrets.AZUREAPPSERVICE_SUBSCRIPTIONID_C4421F340BA2403486DA4E4ABD4045A3 }}
6364

6465
- name: 'Deploy to Azure Web App'
6566
id: deploy-to-webapp
@@ -68,4 +69,4 @@ jobs:
6869
app-name: 'codepush-csh'
6970
slot-name: 'Production'
7071
package: .
71-
72+

0 commit comments

Comments
 (0)