Skip to content

ci: regenerate coverage #148

ci: regenerate coverage

ci: regenerate coverage #148

Workflow file for this run

name: "Create documentation and deploy to Github pages"
on:
push:
branches:
- main
jobs:
create-documentation-and-deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- name: Enable Corepack
run: corepack enable
- name: Install Dependencies
run: yarn install --immutable
- name: Configure c8
run: |
echo '{"reports-dir": "docs/coverage"}' > .c8rc.json
- name: Generate Coverage
run: yarn test:coverage:lcov
- name: Create nojekyll
run: touch docs/.nojekyll
- name: Deploy
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs