diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..ca840cf --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,23 @@ +name: ci + +on: [push, pull_request] + +jobs: + test: + strategy: + fail-fast: false + matrix: + os: [ubuntu, windows, macos] + node: ['*', '14', '12'] + + runs-on: ${{ matrix.os }}-latest + name: ${{ matrix.os }} node@${{ matrix.node }} + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-node@v1 + with: + node-version: ${{ matrix.node }} + - name: install + run: npm install + - name: test + run: npm test diff --git a/.travis.yml b/.travis.yml deleted file mode 100755 index c8e6f82..0000000 --- a/.travis.yml +++ /dev/null @@ -1,7 +0,0 @@ -version: ~> 1.0 - - -import: - - hapijs/ci-config-travis:node_js.yml@main - - hapijs/ci-config-travis:install.yml@main - - hapijs/ci-config-travis:os.yml@main