chore: [SIG-583]: jest coverage setup - page publish test #3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Deploy coverage report to Pages | |
on: | |
push: | |
branches: | |
- SIG-583 | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Install dependencies | |
run: cd frontend && npm install -g yarn && yarn | |
- run: yarn | |
- run: cd frontend && yarn coverage:combined | |
- name: Setup Pages | |
uses: actions/configure-pages@v2 | |
- name: Upload artifact | |
uses: actions/upload-pages-artifact@v1 | |
with: | |
path: "./coverage/lcov-report" | |
- name: Deploy to GitHub Pages | |
uses: actions/deploy-pages@v1 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |