Skip to content

Commit

Permalink
Merge pull request cutenode#160 from cutenode/bnb/github-ci-xplat-att…
Browse files Browse the repository at this point in the history
…empt

chore: First attempt at adding xplat GitHub CI
  • Loading branch information
bnb authored Sep 30, 2019
2 parents 9db15d2 + cefc10e commit f708d61
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,23 +1,21 @@
name: Node.js CI
name: Node.js Cross-platform CI

on: [push]

jobs:
build:

runs-on: ubuntu-latest

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 }}
- name: Use Node.js ${{ matrix.node-version }} on ${{ matrix.os }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: npm install, build, and test
- name: npm install and test
run: |
npm install
npm test
Expand Down

0 comments on commit f708d61

Please sign in to comment.