Skip to content

Commit

Permalink
Ajuste agregar --legacy-peer-deps a npm install en .yml
Browse files Browse the repository at this point in the history
  • Loading branch information
PELUQAZ committed Dec 20, 2024
1 parent 6faa0e1 commit ec8c94d
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/prod_wmc-front-agreements-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:

- name: npm install, build, and test
run: |
npm install
npm install --legacy-peer-deps
npm run build --if-present
npm run test --if-present
Expand All @@ -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
Expand All @@ -53,13 +53,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_86288752669B4E878C83FC51E91B9AF5 }}
tenant-id: ${{ secrets.AZUREAPPSERVICE_TENANTID_59DC9E79742A4382A5CB2C46056E0515 }}
subscription-id: ${{ secrets.AZUREAPPSERVICE_SUBSCRIPTIONID_D81DDA1E387C4ADC87E1CE213F1087A0 }}

- name: Login to Azure
uses: azure/login@v2
with:
client-id: ${{ secrets.AZUREAPPSERVICE_CLIENTID_86288752669B4E878C83FC51E91B9AF5 }}
tenant-id: ${{ secrets.AZUREAPPSERVICE_TENANTID_59DC9E79742A4382A5CB2C46056E0515 }}
subscription-id: ${{ secrets.AZUREAPPSERVICE_SUBSCRIPTIONID_D81DDA1E387C4ADC87E1CE213F1087A0 }}

- name: 'Deploy to Azure Web App'
id: deploy-to-webapp
Expand Down

0 comments on commit ec8c94d

Please sign in to comment.