Skip to content

Commit

Permalink
process #00(github): Add a GitHub workflow for CI
Browse files Browse the repository at this point in the history
  • Loading branch information
bitdivine committed Feb 27, 2021
1 parent 1147c40 commit 33363e8
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 1 deletion.
22 changes: 22 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Node.js CI

on: [push, pull_request]

jobs:
build:

runs-on: ubuntu-latest

strategy:
matrix:
node-version: [10.x, 12.x, 14.x, 15.x]

steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
- run: npm run build --if-present
- run: npm test
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
jline
=====

![CI](https://github.com/bitdivine/jline/actions/workflows/ci.yaml/badge.svg)

Sort, grep and join files where every line is JSON. JSON has long surpassed CSV as the most common, useful and robust format in much of the code that I encounter but as yet it has no parallel to the array of fine tuned command line tools that target CSV. This collection fills some of the gaps.

The JSON lines format is formally described at [http://jsonlines.org/](http://jsonlines.org/). Other pages of interest are [Wikipedia](https://en.wikipedia.org/wiki/Line_Delimited_JSON) and [Newline Delimited JSON](http://trephine.org/t/index.php?title=Newline_delimited_JSON).
Expand Down Expand Up @@ -79,4 +81,4 @@ Use `--help` or refer to the markdown files:
## Support on Beerpay
Hey dude! Help me out for a couple of :beers:!

[![Beerpay](https://beerpay.io/bitdivine/jline/badge.svg?style=beer-square)](https://beerpay.io/bitdivine/jline) [![Beerpay](https://beerpay.io/bitdivine/jline/make-wish.svg?style=flat-square)](https://beerpay.io/bitdivine/jline?focus=wish)
[![Beerpay](https://beerpay.io/bitdivine/jline/badge.svg?style=beer-square)](https://beerpay.io/bitdivine/jline) [![Beerpay](https://beerpay.io/bitdivine/jline/make-wish.svg?style=flat-square)](https://beerpay.io/bitdivine/jline?focus=wish)

0 comments on commit 33363e8

Please sign in to comment.