diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..3fc45d0 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,23 @@ +on: + - push + - pull_request +jobs: + CI: + runs-on: ubuntu-latest + strategy: + matrix: + node-version: + - 4 + - 6 + - 8 + - 10 + - 12 + - 14 + - 15 + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-node@v1 + with: + node-version: ${{ matrix.node-version }} + - run: npm install + - run: npm test diff --git a/.npmignore b/.npmignore index dc97c9d..54ee2e2 100644 --- a/.npmignore +++ b/.npmignore @@ -1,4 +1,4 @@ -.travis.yml +.github/ node_modules package-lock.json tests diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 59d4d82..0000000 --- a/.travis.yml +++ /dev/null @@ -1,7 +0,0 @@ -os: linux -dist: bionic -language: node_js -node_js: - - "10" - - "12" - - "14"