diff --git a/.editorconfig b/.editorconfig index 079a0c1..391bcf3 100644 --- a/.editorconfig +++ b/.editorconfig @@ -11,7 +11,7 @@ max_line_length = 80 indent_style = tab indent_size = 4 -[*.md] +[*.{md,yml}] indent_style = space [COMMIT_EDITMSG] diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml new file mode 100644 index 0000000..50c7807 --- /dev/null +++ b/.github/workflows/nodejs.yml @@ -0,0 +1,19 @@ +name: tests +on: +- push +jobs: + build: + runs-on: ubuntu-latest + strategy: + matrix: + node-version: + - 8.x + - 12.x + steps: + - uses: actions/checkout@v1 + - uses: actions/setup-node@v1 + with: + node-version: ${{ matrix.node-version }} + - run: npm install-test + env: + CI: true diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index c0a940a..0000000 --- a/.travis.yml +++ /dev/null @@ -1,8 +0,0 @@ -language: node_js -node_js: -- 8.9.3 -- 8 -- 12 - -script: -- npm test diff --git a/README.md b/README.md index 5cf37be..7f98b0a 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ faucet-pipeline-core ==================== [![npm](https://img.shields.io/npm/v/faucet-pipeline-core.svg)](https://www.npmjs.com/package/faucet-pipeline-core) -[![build status](https://travis-ci.org/faucet-pipeline/faucet-pipeline-core.svg?branch=master)](https://travis-ci.org/faucet-pipeline/faucet-pipeline-core) +[![build status](https://github.com/faucet-pipeline/faucet-pipeline-core/workflows/tests/badge.svg)](https://github.com/faucet-pipeline/faucet-pipeline-core/actions) [![Greenkeeper badge](https://badges.greenkeeper.io/faucet-pipeline/faucet-pipeline-core.svg)](https://greenkeeper.io) See [faucet-pipeline.org](https://www.faucet-pipeline.org) for documentation.