diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..98b3426 --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,23 @@ +name: Node.js CI + +on: + push: + pull_request: + +jobs: + build: + runs-on: ubuntu-latest + + strategy: + matrix: + node-version: [10.x, 12.x, 14.x, 16.x, 17.x] + + steps: + - uses: actions/checkout@v2 + - name: Use Node.js + uses: actions/setup-node@v1 + with: + node-version: '12.x' + - name: Install dependencies + run: npm ci + - run: npm test diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index fc0741d..0000000 --- a/.travis.yml +++ /dev/null @@ -1,5 +0,0 @@ -language: node_js -node_js: - - 'node' - - '10' -install: npm install