diff options
| author | Michael Williamson <mike@zwobble.org> | 2020-11-06 19:14:48 +0000 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2020-11-06 19:15:56 +0000 |
| commit | 9f3a2cf466dc402af62b287f9a93b75414c2cc51 (patch) | |
| tree | 0f09f5d8e9a56e453faab541ff14958de8773785 /.github | |
| parent | 44a022e8cd06eae46f1ecc3e1492988b9c444607 (diff) | |
Add GitHub workflow
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/tests.yml | 26 |
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 + + |
