From 6d49e4bb83603642a2b95ea844a996c11a461655 Mon Sep 17 00:00:00 2001 From: lucasferreiralimax Date: Wed, 7 Feb 2024 17:47:36 -0300 Subject: [PATCH] force --legacy-peer-deps in CI/CD --- .github/workflows/firebase-hosting-merge.yml | 2 +- .github/workflows/firebase-hosting-pull-request.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/firebase-hosting-merge.yml b/.github/workflows/firebase-hosting-merge.yml index 899c9a5..a17d861 100644 --- a/.github/workflows/firebase-hosting-merge.yml +++ b/.github/workflows/firebase-hosting-merge.yml @@ -13,7 +13,7 @@ jobs: - uses: actions/checkout@v4 - run: cd docs && npm ci && npm run build - name: Test unit component - run: npm ci && npm run test:unit + run: npm ci --legacy-peer-deps && npm run test:unit - name: Test unit docs run: cd docs npm ci && npm run test:unit - uses: FirebaseExtended/action-hosting-deploy@v0 diff --git a/.github/workflows/firebase-hosting-pull-request.yml b/.github/workflows/firebase-hosting-pull-request.yml index f4c7fe7..183d142 100644 --- a/.github/workflows/firebase-hosting-pull-request.yml +++ b/.github/workflows/firebase-hosting-pull-request.yml @@ -11,7 +11,7 @@ jobs: - uses: actions/checkout@v4 - run: cd docs && npm ci && npm run build - name: Test unit component - run: npm ci && npm run test:unit + run: npm ci --legacy-peer-deps && npm run test:unit - name: Test unit docs run: cd docs npm ci && npm run test:unit - uses: FirebaseExtended/action-hosting-deploy@v0