diff --git a/.github/workflows/firebase-hosting-merge.yml b/.github/workflows/firebase-hosting-merge.yml index a17d861..d165ce3 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 && 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 183d142..9bdcf9c 100644 --- a/.github/workflows/firebase-hosting-pull-request.yml +++ b/.github/workflows/firebase-hosting-pull-request.yml @@ -13,7 +13,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 && npm run test:unit - uses: FirebaseExtended/action-hosting-deploy@v0 with: repoToken: '${{ secrets.GITHUB_TOKEN }}'