All Projects → bitjourney → ci-npm-update

bitjourney / ci-npm-update

Licence: other
(no longer used by @bitjourney)

Programming Languages

typescript
32286 projects
shell
77523 projects
javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to ci-npm-update

koshry
Run on CI, Apply Rules on the Build and Get the Result back to the Pull Request.
Stars: ✭ 59 (+43.9%)
Mutual labels:  circleci, pull-request
cimg-node
The CircleCI Node.js Docker Convenience Image.
Stars: ✭ 35 (-14.63%)
Mutual labels:  circleci
Circleci Monorepo
An example of monorepo with CircleCI using conditional workflows and pipeline parameters.
Stars: ✭ 205 (+400%)
Mutual labels:  circleci
playwright-ci
☁️ Set up Playwright in CI
Stars: ✭ 27 (-34.15%)
Mutual labels:  circleci
Unity3d Gitlab Ci Example Mirror
🍴Mirror of the gableroux/unity3d-gitlab-ci-example project for Travis and CircleCI on Github. If you are looking for Github Actions, refer to https://github.com/game-ci/unity-actions-example instead.
Stars: ✭ 210 (+412.2%)
Mutual labels:  circleci
compojure-appengine-sample
Sample Compojure app with deployment to Google App Engine
Stars: ✭ 12 (-70.73%)
Mutual labels:  circleci
Pupernetes
Spin up a full fledged Kubernetes environment designed for local development & CI
Stars: ✭ 199 (+385.37%)
Mutual labels:  circleci
gradle-circle-style
🚀🚀🚀MOVED TO Baseline
Stars: ✭ 28 (-31.71%)
Mutual labels:  circleci
terraform-aws-s3-bucket
Terraform module that creates an S3 bucket with an optional IAM user for external CI/CD systems
Stars: ✭ 138 (+236.59%)
Mutual labels:  circleci
circleci-api
Wrapper for CircleCI API for web, node, and written in TypeScript
Stars: ✭ 21 (-48.78%)
Mutual labels:  circleci
awesome-dj
List of reasons why django is awesome for web development & django bootstrap boilerplate
Stars: ✭ 19 (-53.66%)
Mutual labels:  pull-request
Circleci Demo React Native
A demo React Native project that’s building on CircleCI 2.0 with Workflows
Stars: ✭ 212 (+417.07%)
Mutual labels:  circleci
Norimaki
🌀 Android client for Circle CI
Stars: ✭ 19 (-53.66%)
Mutual labels:  circleci
Buefy Shop
A sample shop built with Nuxt, Stripe, Firebase and Serverless Functions
Stars: ✭ 207 (+404.88%)
Mutual labels:  circleci
terraform-provider-circleci
Terraform provider for CircleCI
Stars: ✭ 94 (+129.27%)
Mutual labels:  circleci
Android Mvp Architecture
🏛 A basic sample android application to understand MVP in a very simple way. Just clone, build, run and understand MVP.
Stars: ✭ 203 (+395.12%)
Mutual labels:  circleci
Rok8s Scripts
Opinionated scripts for managing application deployment lifecycle in Kubernetes
Stars: ✭ 248 (+504.88%)
Mutual labels:  circleci
golang-example-app
Example application
Stars: ✭ 138 (+236.59%)
Mutual labels:  circleci
tiller-circleci
Deploy Trellis, Bedrock and Sage via CircleCI
Stars: ✭ 14 (-65.85%)
Mutual labels:  circleci
ci-configuration-examples
This repository makes it easy to run your MATLAB tests on some of the most common CI platforms. The configuration files take care of setting up MATLAB and automatically executing your MATLAB tests.
Stars: ✭ 52 (+26.83%)
Mutual labels:  circleci

ci-npm-update CircleCI

This command keeps npm dependencies up-to-date by making pull-requests from CI.

For example: #13

This is inspired by circleci-bundle-update-pr.

Install

npm install --save-dev ci-npm-update

Usage

Configuration

This command is designed to be executed by CI nightly builds.

Set GITHUB_ACCESS_TOKEN environment to make a pull-request to github repositories, and set SSH keys to push to the repos from CI.

If the CI environment has no git configuration, also set GIT_USER_NAME and GIT_USER_EMAIL to commit patches in CI.

export GITHUB_ACCESS_TOKEN=...
export GIT_USER_NAME=gfx
export [email protected]

Execution

By default, ci-npm-update runs in dry-run mode. Set --execute to make pull-requests.

ci-npm-update --execute

Local Tests

If you only run it in dry-run mode, no configuration is required:

# run in dry-run mode:
ci-npm-update

If you want to make pull-requests in your local machine, use GITHUB_ACCESS_TOKEN:

# envchain is recommended
envchain --set github GITHUB_ACCESS_TOKEN
# run:
envchain github ci-npm-update --execute

In addition, --list is provided to list dependencies with short descriptions, intended for sanity check in development.

ci-npm-update --list

Development

Setup:

npm run setup

Easy test command in dry-run mode:

npm run build && envchain github node bin/ci-npm-update

Heroku Scheduler

If you want to setup heroku schedulers, there's a template for it:

Deploy

To test it, run the following command:

heroku run './build-circleci'

License

Copyright (c) 2016 Bit Journey, Inc.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].