Skip to content

Commit

Permalink
chore: [SIG-583]: jest coverage setup - page publish test
Browse files Browse the repository at this point in the history
  • Loading branch information
SagarRajput-7 committed Apr 24, 2024
1 parent abea23c commit 5f45c4a
Showing 1 changed file with 5 additions and 21 deletions.
26 changes: 5 additions & 21 deletions .github/workflows/jest-coverage-report.yml
Original file line number Diff line number Diff line change
@@ -1,29 +1,12 @@
name: Deploy coverage report to Pages

on:
pull_request:
branches: develop

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write

# Allow one concurrent deployment
concurrency:
group: "pages"
cancel-in-progress: true
push:
branches:
- SIG-583

jobs:
# Single deploy job since we're just deploying
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand All @@ -39,5 +22,6 @@ jobs:
with:
path: "./coverage/lcov-report"
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 5f45c4a

Please sign in to comment.