diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml new file mode 100644 index 0000000000000000000000000000000000000000..fce1892d58ebbbaa6fe2d4159b2c0714c8e0e1c2 --- /dev/null +++ b/.github/workflows/node.js.yml @@ -0,0 +1,25 @@ +# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node +# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions + +name: Node.js CI + +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + - name: Use Node.js 14.x + uses: actions/setup-node@v1 + with: + node-version: 14.x + - run: npm install -g codecov + - run: npm install + - run: npm test + - run: codecov diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 7cfeaf1510b2e9046daffd43452c082c7f98c465..0000000000000000000000000000000000000000 --- a/.travis.yml +++ /dev/null @@ -1,13 +0,0 @@ -sudo: false - -language: node_js -node_js: - - 'lts/*' - -before_install: - - npm install - - npm install codecov.io coveralls - -after_success: - - cat ./coverage/lcov.info | ./node_modules/codecov.io/bin/codecov.io.js - - cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js