Skip to content

Commit

Permalink
Merge branch 'main' into dev_test
Browse files Browse the repository at this point in the history
  • Loading branch information
pedrobiqua authored Dec 20, 2024
2 parents fbf1800 + 2fe9d98 commit d6f3838
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@main
- name: Set up Node 18
uses: actions/setup-node@v4
with:
Expand All @@ -22,12 +22,10 @@ jobs:
run: npm install
- name: Run tests and collect coverage
run: npm run test

- uses: actions/checkout@main
- uses: codecov/codecov-action@v5
with:
# fail_ci_if_error: true # optional (default = false)
# files: ./coverage1.xml,./coverage2.xml # optional
files: ./coverage/cobertura-coverage.xml # optional
# flags: unittests # optional
# name: codecov-umbrella # optional
token: ${{ secrets.CODECOV_TOKEN }} # required
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"dev": "node esbuild.config.mjs",
"build": "tsc -noEmit -skipLibCheck && node esbuild.config.mjs production",
"version": "node version-bump.mjs && git add manifest.json versions.json",
"test": "jest"
"test": "jest --coverage"
},
"keywords": [
"obsidian",
Expand Down

0 comments on commit d6f3838

Please sign in to comment.