معرفی شرکت ها


reg-notify-github-plugin-0.12.1


Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر

توضیحات

Notify reg-suit result to GitHub repository
ویژگی مقدار
سیستم عامل -
نام فایل reg-notify-github-plugin-0.12.1
نام reg-notify-github-plugin
نسخه کتابخانه 0.12.1
نگهدارنده ['quramy']
ایمیل نگهدارنده ['yosuke.kurami@gmail.com']
نویسنده Quramy
ایمیل نویسنده yosuke.kurami@gmail.com
آدرس صفحه اصلی git+https://github.com/reg-viz/reg-suit.git
آدرس اینترنتی https://github.com/reg-viz/reg-suit#readme
مجوز MIT
# reg-notify-github-plugin reg-suit plugin to send notification the testing result to your GitHub repository. Installing this plugin, reg-suit comments to your PR and sets commits' status. ![](images/capt_pr_comment.png) ![](images/capt_status.png) ## Install ```sh npm i reg-notify-github-plugin -D reg-suit prepare -p notify-github ``` ## GitHub App and Client ID To configure notify-github plugin, a client ID of your repository is needed. You can get the client ID via the following steps: 1. Open https://github.com/apps/reg-suit and click "Install" button. ![](images/capt_install_app.png) 1. Select repositories to integrate with reg-suit. 1. After installation app, visit [here](https://reg-viz.github.io/gh-app/) and click the **Get client ID** button of the repository you want to integrate. ![](images/capt_client_id.png) ## How to set commit status succeed If reg-suit detects visual differences, it set the commit status failure. Sometimes you might dislike it because the difference is as you intended. In these cases, your reviewer can set the status green with submitting "Approve Review Changes". ## Configure ```ts { clientId: string; prComment?: boolean; prCommentBehavior?: "default" | "once" | "new"; setCommitStatus?: boolean; shortDescription?: boolean; } ``` - `clientId` - _Required_ - Client ID for reg-suit GitHub app. You can get it visiting [here](https://reg-viz.github.io/gh-app/) and click the **Get client ID** button. - `prComment` - _Optional_ - Whether to allow reg-suit to comment to pull request. Default: `true`. - `prCommentBehavior` - _Optional_ - How the plugin comments to your pull requests. Enabled values are the following. Default: `default`. - `"default"` : Update the PR comment if exists. Otherwise post new comment. - `"new"` : Delete existing old comment and post new comment. - `"once"` : Does nothing if the PR comment exists. - `setCommitStatus` - _Optional_ - Whether to allow reg-suit to set commit status to fail if any visual differences are detected. Default: `true`. - `shortDescription` - _Optional_ Returns a small table with the item counts. Example: | 🔴 Changed | ⚪️ New | 🔵 Passing | | ---------- | ------- | ---------- | | 3 | 4 | 120 |


نیازمندی

مقدار نام
^8.0.0 open
^1.3.0 reg-gh-app-interface
^0.12.1 reg-suit-util
^2.88.2 request
^4.2.6 request-promise
^1.1.2 tiny-commit-walker


زبان مورد نیاز

مقدار نام
12.16.3 Npm


نحوه نصب


نصب پکیج tgz reg-notify-github-plugin-0.12.1:

    npm install reg-notify-github-plugin-0.12.1.tgz