Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@cypress/bumpercar

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cypress/bumpercar

Easily update settings and trigger builds across projects and CI Providers.

  • 2.0.6
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
7
decreased by-78.79%
Maintainers
1
Weekly downloads
 
Created
Source

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.

Keywords

FAQs

Package last updated on 11 Mar 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc