Skip to content
This repository has been archived by the owner on Mar 15, 2020. It is now read-only.

Commit

Permalink
ci(gha): add config
Browse files Browse the repository at this point in the history
  • Loading branch information
Comandeer committed Oct 18, 2019
1 parent 6ddaf14 commit 72776d8
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: CI

on:
push:
branches:
- master
tags:
- v*
pull_request:
branches:
- master

jobs:
test-linux:
name: Node ${{ matrix.node }} on ${{ matrix.os }}
strategy:
matrix:
os: [ ubuntu-latest, windows-latest, macOS-latest ]
node: [ '12', '10', '8' ]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v1
- name: Setup node
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node }}
- run: npm install
- run: npm install --global npx
- run: npm test
- run: npm run coverage

0 comments on commit 72776d8

Please sign in to comment.