diff --git a/.github/workflows/master_app-akingue-04.yml b/.github/workflows/master_app-akingue-04.yml index de382386..df18e425 100644 --- a/.github/workflows/master_app-akingue-04.yml +++ b/.github/workflows/master_app-akingue-04.yml @@ -25,7 +25,7 @@ jobs: run: | npm install npm run build --if-present - npm run test --if-present + npm run test-headless --if-present - name: Zip artifact for deployment run: zip release.zip ./* -r @@ -42,8 +42,8 @@ jobs: environment: name: 'Production' url: ${{ steps.deploy-to-webapp.outputs.webapp-url }} - 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 @@ -53,13 +53,13 @@ jobs: - name: Unzip artifact for deployment run: unzip release.zip - - - name: Login to Azure - uses: azure/login@v1 - with: - client-id: ${{ secrets.AZUREAPPSERVICE_CLIENTID_56B447CAC1FA4F78A918CDB716EDAC87 }} - tenant-id: ${{ secrets.AZUREAPPSERVICE_TENANTID_CDEBFD85D9884B77BFD202E43628B858 }} - subscription-id: ${{ secrets.AZUREAPPSERVICE_SUBSCRIPTIONID_D24C8C213DA5434BB11972EF02473518 }} + + - name: Login to Azure + uses: azure/login@v1 + with: + client-id: ${{ secrets.AZUREAPPSERVICE_CLIENTID_56B447CAC1FA4F78A918CDB716EDAC87 }} + tenant-id: ${{ secrets.AZUREAPPSERVICE_TENANTID_CDEBFD85D9884B77BFD202E43628B858 }} + subscription-id: ${{ secrets.AZUREAPPSERVICE_SUBSCRIPTIONID_D24C8C213DA5434BB11972EF02473518 }} - name: 'Deploy to Azure Web App' id: deploy-to-webapp