-
Notifications
You must be signed in to change notification settings - Fork 145
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: switch over to new org all-contributors (#132)
- Loading branch information
Showing
9 changed files
with
91 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
version: 2.1 | ||
|
||
docker_defaults: &docker_defaults | ||
docker: | ||
- image: circleci/node:8.14.0 | ||
|
||
commands: | ||
prep_env: | ||
description: Prepares environment with cache | ||
steps: | ||
- checkout: | ||
path: ~/repo | ||
- restore_cache: | ||
name: Restore node_modules cache | ||
key: all-contributors-cli-{{ checksum "package.json" }}-{{ .Branch }} | ||
save_env_cache: | ||
description: Saves environment cache | ||
steps: | ||
- save_cache: | ||
name: Save node_modules cache | ||
key: all-contributors-cli-{{ checksum "package.json" }}-{{ .Branch }} | ||
paths: | ||
- node_modules/ | ||
|
||
jobs: | ||
node_modules: | ||
<<: *docker_defaults | ||
working_directory: ~/repo | ||
steps: | ||
- prep_env | ||
- run: yarn install | ||
- save_env_cache | ||
validate: | ||
<<: *docker_defaults | ||
working_directory: ~/repo | ||
steps: | ||
- prep_env | ||
- run: yarn validate | ||
- persist_to_workspace: | ||
root: ./ | ||
paths: | ||
- dist | ||
- coverage | ||
deploy: | ||
<<: *docker_defaults | ||
working_directory: ~/repo | ||
steps: | ||
- prep_env | ||
- attach_workspace: | ||
at: ./ | ||
- run: yarn kcd-scripts travis-after-success | ||
workflows: | ||
version: 2 | ||
test_and_deploy: | ||
jobs: | ||
- node_modules | ||
- deploy: | ||
requires: | ||
- node_modules | ||
filters: | ||
branches: | ||
only: | ||
- master | ||
|
||
experimental: | ||
notify: | ||
branches: | ||
only: | ||
- master |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
8.14.0 |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
1.9.2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters