From 2ffad1b6bb8eda7739edaaaa3c0e5c1a92eca6ae Mon Sep 17 00:00:00 2001 From: silverwind Date: Thu, 11 Jun 2020 06:48:48 +0200 Subject: [PATCH] Add Github Actions (#958) The tests do spew a few warnings but no errors so this should pass. I did not bother adding macOS/Windows to the test matrix as there's probably nothing platform-dependant in this repo, but it could be done on request. --- .github/workflows/ci.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 00000000..b7714d1c --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,20 @@ +name: ci +on: [push, pull_request] + +jobs: + test: + strategy: + fail-fast: false + matrix: + os: [ubuntu-latest] + node: ['10', '12', '14'] + + runs-on: ${{ matrix.os }} + + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-node@v1 + with: + node-version: ${{ matrix.node }} + - run: npm install + - run: npm test