Skip to content

Commit

Permalink
docs(BuddyWorks): add CI setup comment
Browse files Browse the repository at this point in the history
  • Loading branch information
kristofdombi committed Sep 2, 2019
1 parent b67d492 commit d346570
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion source/ci_source/providers/BuddyWorks.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,19 @@
import { Env, CISource } from "../ci_source"
import { ensureEnvKeysExist, ensureEnvKeysAreInt } from "../ci_source_helpers"
// TODO add Setup comments
/**
* ### CI Setup
*
* To make Danger run:
*
* - Create a new pipeline named, DangerJS, which is triggered on every push
* - Add a NodeJS environment as an Action
* - Go into it, head over to the bash editor and type the following
* - `yarn install && yarn danger ci`
* - or your npm script
* - Set the `DANGER_GITHUB_API_TOKEN` at the Variables section
* - You're done 🎉
*
*/
export class BuddyWorks implements CISource {
constructor(private readonly env: Env) {}

Expand Down

0 comments on commit d346570

Please sign in to comment.