Skip to content
Ship every code change that you make
TypeScript JavaScript
Branch: master
Clone or download
Latest commit 186d417 May 22, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.circleci 🔥 it works Apr 1, 2019
meta 🔥 it works Apr 1, 2019
src update client version May 22, 2019
.gitignore 🔥 it works Apr 1, 2019
.prettierignore 🔥 it works Apr 1, 2019
.prettierrc 🔥 it works Apr 1, 2019
CHANGELOG.md 🔥 it works Apr 1, 2019
CONTRIBUTING.md 🔥 it works Apr 1, 2019
LICENSE 🔥 it works Apr 1, 2019
README.md revert support for name May 22, 2019
jest.config.js 🔥 it works Apr 1, 2019
package.json 0.1.0 May 22, 2019
tsconfig.json 🔥 it works Apr 1, 2019
tslint.json 🔥 it works Apr 1, 2019
yarn.lock update client version May 22, 2019

README.md

codechecks.io

Commit Deployment

Ship every code change that you make

Build Status Software License

Install

npm add --save-dev @codechecks/commit-deployment

or

yarn add --dev @codechecks/commit-deployment

Usage

Add to your codechecks.yml file:

checks:
  - name: commit-deployment
    options:
      buildPath: "./dist"
  # ...

With each pull request you will get a link do current deployment of your frontend app.

API

commitDeployment(options: Options): Promise<void>

Options

interface Options {
  buildPath: string;
  rootFile?: string;
}
buildPath

string

Relative (to current codechecks file) path to build that is supposed to be deployed.

rootFile

optional string

Default: index.html

File considered as root in your build. Attached link will point directly to it.

Contributing

All contributions are welcomed. Read more in CONTRIBUTING.md

Licence

MIT @ codechecks.io

You can’t perform that action at this time.