diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml new file mode 100644 index 0000000..7b4099f --- /dev/null +++ b/.github/workflows/push.yml @@ -0,0 +1,23 @@ +name: Continuous Integration +on: push +jobs: + unit-tests: + runs-on: '${{ matrix.os }}' + strategy: + matrix: + os: + - ubuntu-20.04 + node-version: + - 12.x + - 14.x + - 16.x + steps: + - uses: actions/checkout@v2 + - name: 'Install node.js ${{ matrix.node-version }}' + uses: actions/setup-node@v2-beta + with: + node-version: '${{ matrix.node-version }}' + - name: Run lint + run: | + npm install + npm run lint && npm ls diff --git a/.lgtm b/.lgtm deleted file mode 100644 index 59a8a38..0000000 --- a/.lgtm +++ /dev/null @@ -1 +0,0 @@ -pattern = "(?i):shipit:|:\\+1:|LGTM" diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 5cb18b7..0000000 --- a/.travis.yml +++ /dev/null @@ -1,8 +0,0 @@ -language: node_js -node_js: - - 8 -sudo: false -script: npm run lint && npm ls -cache: - directories: - - node_modules diff --git a/README.md b/README.md index 2ed8355..60596a5 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,3 @@ -[![Build Status](https://travis-ci.org/pelias/fuzzy-tests.png)](https://travis-ci.org/pelias/fuzzy-tests) - # Fuzzy tests [![Greenkeeper badge](https://badges.greenkeeper.io/pelias/fuzzy-tests.svg)](https://greenkeeper.io/) diff --git a/package.json b/package.json index 5c0f62d..4356e23 100644 --- a/package.json +++ b/package.json @@ -17,7 +17,7 @@ "validate": "npm ls" }, "dependencies": { - "pelias-fuzzy-tester": "^1.18.1" + "pelias-fuzzy-tester": "^1.19.0" }, "devDependencies": { "jshint": "^2.9.4", @@ -35,8 +35,5 @@ "pre-commit": [ "lint", "validate" - ], - "engines": { - "npm": "~2.0.0" - } + ] }