diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..55ddf1f --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,23 @@ +name: CI + +on: + push: + workflow_dispatch: + +jobs: + test: + strategy: + matrix: + node-version: [18.x, 20.x, 22.x] + os: [ ubuntu-latest, macos-latest, windows-latest ] + + runs-on: ${{ matrix.os }} + + steps: + - uses: actions/checkout@v4 + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v4 + with: + node-version: ${{ matrix.node-version }} + - run: npm install + - run: npm test diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 47f9bcc..0000000 --- a/.travis.yml +++ /dev/null @@ -1,9 +0,0 @@ -os: - - linux - - osx - - windows -language: node_js -node_js: - - node - - '10' - - '8'