From 9f3a2cf466dc402af62b287f9a93b75414c2cc51 Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Fri, 6 Nov 2020 19:14:48 +0000 Subject: Add GitHub workflow --- .github/workflows/tests.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/workflows/tests.yml (limited to '.github/workflows') diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml new file mode 100644 index 0000000..f29a757 --- /dev/null +++ b/.github/workflows/tests.yml @@ -0,0 +1,26 @@ +name: Tests + +on: [push, pull_request] + +jobs: + build: + runs-on: ubuntu-latest + + strategy: + matrix: + node-version: [6.x, 8.x, 10.x, 12.x] + + steps: + + - uses: actions/checkout@v2 + + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v1 + with: + node-version: ${{ matrix.node-version }} + + - run: npm install + + - run: npm test + + -- cgit v1.2.3