Skip to content

Commit

Permalink
adjustment test unit in CI/CD
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasferreiralimax committed Feb 7, 2024
1 parent f194de5 commit 97c72f5
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/firebase-hosting-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,10 @@ jobs:
steps:
- uses: actions/checkout@v4
- run: cd docs && npm ci && npm run build
- name: Test unit
run: npm run test:unit
- name: Test unit component
run: npm ci && npm run test:unit
- name: Test unit docs
run: cd docs npm ci && npm run test:unit
- uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: '${{ secrets.GITHUB_TOKEN }}'
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/firebase-hosting-pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,10 @@ jobs:
steps:
- uses: actions/checkout@v4
- run: cd docs && npm ci && npm run build
- name: Test unit
run: npm run test:unit
- name: Test unit component
run: npm ci && npm run test:unit
- name: Test unit docs
run: cd docs npm ci && npm run test:unit
- uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: '${{ secrets.GITHUB_TOKEN }}'
Expand Down

0 comments on commit 97c72f5

Please sign in to comment.