Skip to content

chore: [SIG-583]: jest coverage setup - page publish test #3

chore: [SIG-583]: jest coverage setup - page publish test

chore: [SIG-583]: jest coverage setup - page publish test #3

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 }}