Skip to content

Commit f708d61

Browse files
authored
Merge pull request #160 from cutenode/bnb/github-ci-xplat-attempt
chore: First attempt at adding xplat GitHub CI
2 parents 9db15d2 + cefc10e commit f708d61

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

.github/workflows/ci.yml

+5-7
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,21 @@
1-
name: Node.js CI
1+
name: Node.js Cross-platform CI
22

33
on: [push]
44

55
jobs:
66
build:
7-
8-
runs-on: ubuntu-latest
9-
7+
runs-on: ${{ matrix.os }}
108
strategy:
119
matrix:
10+
os: [ubuntu-latest, windows-latest, macOS-latest]
1211
node-version: [8.x, 10.x, 12.x]
13-
1412
steps:
1513
- uses: actions/checkout@v1
16-
- name: Use Node.js ${{ matrix.node-version }}
14+
- name: Use Node.js ${{ matrix.node-version }} on ${{ matrix.os }}
1715
uses: actions/setup-node@v1
1816
with:
1917
node-version: ${{ matrix.node-version }}
20-
- name: npm install, build, and test
18+
- name: npm install and test
2119
run: |
2220
npm install
2321
npm test

0 commit comments

Comments
 (0)