Skip to content

Commit

Permalink
test(unit): adjustment test unit in ci/cd with --legacy-peer-deps
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasferreiralimax committed May 26, 2024
1 parent 35e8bb5 commit bd2286c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/firebase-hosting-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}'
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/firebase-hosting-pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}'
Expand Down

0 comments on commit bd2286c

Please sign in to comment.