Skip to content

Commit

Permalink
fix: push coverage report to store repo
Browse files Browse the repository at this point in the history
  • Loading branch information
nishantwrp committed Nov 17, 2023
1 parent 5cf7e8d commit 5444e4b
Show file tree
Hide file tree
Showing 52 changed files with 19 additions and 11,253 deletions.
28 changes: 19 additions & 9 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
name: Coverage report
name: Coverage
on:
push:
branches:
- master

paths:
- src/**
- tests/**
- .github/workflows/coverage.yml
jobs:
coverage:
publish:
runs-on: ${{ matrix.os }}
strategy:
matrix:
Expand All @@ -17,9 +20,16 @@ jobs:
run: npm install
- name: Generage coverage report
run: npm run coverage
- name: Push changes
run: |
git config --global user.name "Albus"
git config --global user.email "[email protected]"
git add .; git commit -m "chore: update coverage report"
git push
- name: Push to store repository
uses: cpina/github-action-push-to-another-repository@main
env:
SSH_DEPLOY_KEY: {{ secrets.STORE_DEPLOY_KEY }}
with:
source-directory: 'coverage'
target-directory: 'coverage'
destination-github-username: 'nishantwrp'
destination-repository-name: 'joplin-plugin-templates-store'
create-target-branch-if-needed: true
user-name: 'Albus'
user-email: '[email protected]'
target-branch: main
1 change: 0 additions & 1 deletion .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,3 @@
tsconfig.json
webpack.config.js
.env
/coverage
754 changes: 0 additions & 754 deletions coverage/clover.xml

This file was deleted.

33 changes: 0 additions & 33 deletions coverage/coverage-final.json

This file was deleted.

224 changes: 0 additions & 224 deletions coverage/lcov-report/base.css

This file was deleted.

79 changes: 0 additions & 79 deletions coverage/lcov-report/block-navigation.js

This file was deleted.

Binary file removed coverage/lcov-report/favicon.png
Binary file not shown.
Loading

0 comments on commit 5444e4b

Please sign in to comment.