Skip to content

Commit

Permalink
Set up GitHub Actions CI
Browse files Browse the repository at this point in the history
  • Loading branch information
davidstraka2 committed Dec 21, 2019
1 parent 6438756 commit 32765d2
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Lint and test code (cross-platform)

on: [push]

jobs:

run:
name: Run

runs-on: ${{ matrix.os }}

strategy:
matrix:
os: [ubuntu-latest, windows-latest, macOS-latest]
node-version: [8.x, 10.x, 12.x]

steps:

- uses: actions/checkout@v1

- name: Use Node.js ${{ matrix.node-version }} on ${{ matrix.os }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}

- name: Install
run: npm install

- name: Lint
run: npm run lint

- name: Test
run: npm test

0 comments on commit 32765d2

Please sign in to comment.