summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2020-11-06 19:14:48 +0000
committerMichael Williamson <mike@zwobble.org>2020-11-06 19:15:56 +0000
commit9f3a2cf466dc402af62b287f9a93b75414c2cc51 (patch)
tree0f09f5d8e9a56e453faab541ff14958de8773785 /.github
parent44a022e8cd06eae46f1ecc3e1492988b9c444607 (diff)
Add GitHub workflow
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/tests.yml26
1 files changed, 26 insertions, 0 deletions
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
+
+