From 27eeb05af5675b74345f90efb7d4578cfdf6d841 Mon Sep 17 00:00:00 2001 From: Justin Willis Date: Tue, 1 Oct 2024 11:20:49 -0700 Subject: [PATCH] Update comp-fix_pwabuilder-apiv2-node(dev).yml --- .../comp-fix_pwabuilder-apiv2-node(dev).yml | 21 +++++++++---------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/.github/workflows/comp-fix_pwabuilder-apiv2-node(dev).yml b/.github/workflows/comp-fix_pwabuilder-apiv2-node(dev).yml index d3bd86c..ffb6593 100644 --- a/.github/workflows/comp-fix_pwabuilder-apiv2-node(dev).yml +++ b/.github/workflows/comp-fix_pwabuilder-apiv2-node(dev).yml @@ -31,7 +31,6 @@ jobs: pushd './${{ env.AZURE_FUNCTIONAPP_PACKAGE_PATH }}' npm install npm run build --if-present - npm run test --if-present popd - name: Zip artifact for deployment @@ -47,8 +46,8 @@ jobs: runs-on: ubuntu-latest needs: build - permissions: - id-token: write #This is required for requesting the JWT + permissions: + id-token: write #This is required for requesting the JWT steps: - name: Download artifact from build job @@ -58,13 +57,13 @@ jobs: - name: Unzip artifact for deployment run: unzip release.zip - - - name: Login to Azure - uses: azure/login@v2 - with: - client-id: ${{ secrets.AZUREAPPSERVICE_CLIENTID_2A6E9B9CBFB54B5A95186843DE1D3E92 }} - tenant-id: ${{ secrets.AZUREAPPSERVICE_TENANTID_BECF5140E58D4E4DAF8C3ECDD90CB3D3 }} - subscription-id: ${{ secrets.AZUREAPPSERVICE_SUBSCRIPTIONID_22B2F92B4B304841A09CCAE322E404E5 }} + + - name: Login to Azure + uses: azure/login@v2 + with: + client-id: ${{ secrets.AZUREAPPSERVICE_CLIENTID_2A6E9B9CBFB54B5A95186843DE1D3E92 }} + tenant-id: ${{ secrets.AZUREAPPSERVICE_TENANTID_BECF5140E58D4E4DAF8C3ECDD90CB3D3 }} + subscription-id: ${{ secrets.AZUREAPPSERVICE_SUBSCRIPTIONID_22B2F92B4B304841A09CCAE322E404E5 }} - name: 'Run Azure Functions Action' uses: Azure/functions-action@v1 @@ -73,4 +72,4 @@ jobs: app-name: 'pwabuilder-apiv2-node' slot-name: 'dev' package: ${{ env.AZURE_FUNCTIONAPP_PACKAGE_PATH }} - \ No newline at end of file +