-
-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: push coverage report to store repo
- Loading branch information
1 parent
5cf7e8d
commit 5444e4b
Showing
52 changed files
with
19 additions
and
11,253 deletions.
There are no files selected for viewing
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
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: | ||
|
@@ -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 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,4 +7,3 @@ | |
tsconfig.json | ||
webpack.config.js | ||
.env | ||
/coverage |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Binary file not shown.
Oops, something went wrong.