Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move goodeggs-formatters to Buildkite #19

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions .buildkite/pipeline.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
plugins: &plugins
- ssh://[email protected]/goodeggs/goodeggs-core-buildkite-plugin#v0.1.1:
cache_node: true
secrets:
NPM_TOKEN:

steps:
- label: "Install"
command: NODE_ENV=development yarn install --frozen-lockfile
plugins: *plugins
- wait
- label: "Test"
command: yarn test
plugins: *plugins
- wait
- label: "Publish"
if: build.tag != null
command:
- export PATH="./node_modules/.bin:$PATH"
- yarn publish
concurrency: 1
concurrency_group: "goodeggs-formatters/publish"
plugins: *plugins
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,5 @@ node_modules/
npm-debug.log
.DS_Store
lib/
yarn-error.log
.eslintcache
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
language: node_js
node_js:
- '8'
- "14"
21 changes: 19 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ formatters for good eggs

[![Build Status](http://img.shields.io/travis/goodeggs/goodeggs-formatters.svg?style=flat-square)](https://travis-ci.org/goodeggs/goodeggs-formatters)


## Usage

```
Expand All @@ -15,7 +14,6 @@ npm install goodeggs-formatters
goodeggsFormatters = require 'goodeggs-formatters'
```


## Contributing

```
Expand All @@ -25,3 +23,22 @@ $ npm test
```

_Module scaffold generated by [generator-goodeggs-npm](https://github.com/goodeggs/generator-goodeggs-npm)._

## Releasing

To release a new version of this module, use yarn to bump the version

in `package.json` and create a git tag, then push. This will automatically

get published to the NPM registry via CI.

```sh


yarn version --new-version=<major|minor|patch|premajor|preminor|prepatch>

git push --follow-tags



```
Loading