From 1c85658d9a1be2404f41b348e99f6ee70bf11a90 Mon Sep 17 00:00:00 2001 From: Mathias Buus Date: Sat, 17 Jun 2023 22:11:39 +0200 Subject: [PATCH] actions --- .github/workflows/test-node.yml | 23 +++++++++++++++++++++++ .travis.yml | 6 ------ 2 files changed, 23 insertions(+), 6 deletions(-) create mode 100644 .github/workflows/test-node.yml delete mode 100644 .travis.yml diff --git a/.github/workflows/test-node.yml b/.github/workflows/test-node.yml new file mode 100644 index 0000000..9b94272 --- /dev/null +++ b/.github/workflows/test-node.yml @@ -0,0 +1,23 @@ +name: Build Status +on: + push: + branches: + - master + pull_request: + branches: + - master +jobs: + build: + strategy: + matrix: + node-version: [lts/*] + os: [ubuntu-latest, macos-latest, windows-latest] + runs-on: ${{ matrix.os }} + steps: + - uses: actions/checkout@v3 + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v3 + 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 977f7a6..0000000 --- a/.travis.yml +++ /dev/null @@ -1,6 +0,0 @@ -language: node_js -node_js: - - 8 - - 10 - - 12 - - 14