2.0.12 • Published 5 years ago

@cypress/bumpercar v2.0.12

Weekly downloads
646
License
MIT
Repository
github
Last release
5 years ago

cypress-bumpercar

Make it easy to bump versions and re-run CI builds across many projects and CI providers.

CircleCI semantic-release renovate-app badge

bumpercar = require("@cypress/bumpercar")

# configure a new Bumpercar
car = bumpercar.create({
  providers: {
    travis: {
      # find/create one here: https://github.com/settings/tokens
      githubToken: "github-token-for-user-with-repo-privileges"
    }
    circle: {
      # find/create one here: https://circleci.com/account/api
      circleToken: "circle-token-for-user-with-project-privileges"
    }
  }
})

# bump your ENV vars with ease
car.updateProjectEnv("cypress-io/cypress-download", "circle", {
  VAR_1: "lo"
  VAR_2: "and"
  VAR_3: "behold"
})

.then ->
  # kick off a new build/run with your new vars
  car.runProject("cypress-io/cypress-download", "circle")

API

This module supports

  • Travis
    • setting environment variables
    • fetch last build by id
    • restart build by id
  • CircleCI
    • setting environment variables
    • starting a build
  • AppVeyor
    • setting environment variables
    • starting a build
  • Buildkite
    • setting environment variables
    • starting a build

Testing

  • npm test runs the unit tests once
  • npm run watch keeps watching for file changes and reruns the tests

Debugging

Run commands with DEBUG=bumper environment variable. To see debug messages from the unit tests, run with DEBUG=test environment variable.

2.0.12

5 years ago

2.0.11

5 years ago

2.0.10

5 years ago

2.0.9

5 years ago

2.0.8

5 years ago

2.0.7

5 years ago

2.0.6

5 years ago

2.0.5

5 years ago

2.0.4

5 years ago

2.0.3

6 years ago

2.0.2

6 years ago

2.0.1

6 years ago

2.0.0

6 years ago

1.0.0

6 years ago

1.4.0

6 years ago

1.3.0

7 years ago

1.2.2

7 years ago

1.2.1

7 years ago

1.2.0

7 years ago

1.1.2

7 years ago

1.1.1

7 years ago

1.1.0

7 years ago

1.0.6

7 years ago