Update workflow (#1)

* Run workflow on linux, mac, and windows

* Add status badge

* Use npm install instead

* Bump typescript version

* Use node 12.x
This commit is contained in:
Josh Gross 2019-10-31 10:37:00 -04:00 committed by GitHub
parent b2cac08cff
commit 889c603691
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 18 additions and 7 deletions

View file

@ -1,4 +1,4 @@
name: Test Cache Action
name: Tests
on:
pull_request:
push:
@ -7,9 +7,18 @@ on:
jobs:
test:
runs-on: ubuntu-latest
name: Test on ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macOS-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: '12.x'
- run: npm ci