Document scoped lifecycle-bound graphs (#170) #74
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: CI | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
update-code-coverage-badge: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Enable corepack | |
run: corepack enable | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: "18" | |
- name: Install | |
run: yarn --frozen-lockfile | |
- name: Build | |
run: yarn workspace react-obsidian run build | |
- name: Test and collect coverage | |
run: yarn workspace react-obsidian run test-coverage | |
- name: Create badge and publish to gh-pages | |
uses: nolleh/jest-badge-deploy-action@latest | |
with: | |
coverage-summary-path: packages/react-obsidian/coverage/coverage-summary.json |