actions tweaks

This commit is contained in:
Bret Comnes
2019-12-26 17:41:30 -07:00
parent abc9656e71
commit 50933391ce
2 changed files with 10 additions and 9 deletions

View File

@@ -1,26 +1,25 @@
name: Tests
name: tests
on: [push]
jobs:
build:
runs-on: ubuntu-latest
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
node-version: [12.x]
os: [ubuntu-latest]
node: [12]
steps:
- uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node-version }}
- name: Use Node.js ${{ matrix.node }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: npm install, build, and test
node-version: ${{ matrix.node }}
- name: npm install && npm test
run: |
npm i
npm test
env:
CI: true