Skip to content

last fix (#216)

last fix (#216) #53

name: Publish Coverage Report
on:
push:
branches: [ main ]
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: "pages"
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Install dependencies
run: npm install --force
- name: Generate coverage report
run: npm run test:ci
- name: Upload Pages artifact
uses: actions/upload-pages-artifact@v1
with:
artifact-name: github-pages
path: coverage/lcov-report
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1