Skip to content

test covertage collection phase #7

test covertage collection phase

test covertage collection phase #7

name: CI
on:
push:
branches:
- master
pull_request:
branches: [ master ]
jobs:
update-code-coverage-badge:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Enable corepack
run: corepack enable
- uses: actions/setup-node@v4
with:
node-version: "18"
- name: Install
run: yarn --frozen-lockfile

Check failure on line 21 in .github/workflows/collect-coverage.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/collect-coverage.yml

Invalid workflow file

You have an error in your yaml syntax on line 21
- 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