diff --git a/.github/workflows/firebase-hosting-merge.yml b/.github/workflows/firebase-hosting-merge.yml index 20d64f4..e72fd0a 100644 --- a/.github/workflows/firebase-hosting-merge.yml +++ b/.github/workflows/firebase-hosting-merge.yml @@ -15,7 +15,7 @@ jobs: - name: Test unit component run: npm ci --legacy-peer-deps && npm run test:unit - name: Test unit docs - run: cd docs && npm ci && npm run test:unit + run: cd docs && npm ci --legacy-peer-deps && npm run test:unit - uses: FirebaseExtended/action-hosting-deploy@v0 with: repoToken: '${{ secrets.GITHUB_TOKEN }}' diff --git a/.github/workflows/firebase-hosting-pull-request.yml b/.github/workflows/firebase-hosting-pull-request.yml index d9696ea..11a665d 100644 --- a/.github/workflows/firebase-hosting-pull-request.yml +++ b/.github/workflows/firebase-hosting-pull-request.yml @@ -9,11 +9,11 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - run: cd docs && npm ci --legacy-peer-deps && npm run build + - run: cd docs && npm ci --legacy-peer-deps && npm run build - name: Test unit component run: npm ci --legacy-peer-deps && npm run test:unit - name: Test unit docs - run: cd docs && npm ci && npm run test:unit + run: cd docs && npm ci --legacy-peer-deps && npm run test:unit - uses: FirebaseExtended/action-hosting-deploy@v0 with: repoToken: '${{ secrets.GITHUB_TOKEN }}'