Skip to content

Commit c2fc885

Browse files
committed
Update CI
1 parent 00f2d46 commit c2fc885

File tree

1 file changed

+6
-9
lines changed

1 file changed

+6
-9
lines changed

.github/workflows/nodejs.yml

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,21 @@
11
name: Node CI
22

3-
on:
4-
pull_request:
5-
branches:
6-
- master
3+
on: push
74
jobs:
85
build:
9-
10-
runs-on: ubuntu-latest
6+
runs-on: ${{ matrix.os }}
117

128
strategy:
9+
fail-fast: false
1310
matrix:
14-
node-version: [8.x, 10.x, 12.x]
11+
os: [ubuntu-latest, windows-latest, macos-latest]
1512

1613
steps:
1714
- uses: actions/checkout@v1
18-
- name: Use Node.js ${{ matrix.node-version }}
15+
- name: Use Node.js 12.x
1916
uses: actions/setup-node@v1
2017
with:
21-
node-version: ${{ matrix.node-version }}
18+
node-version: 12.x
2219
- name: npm install, build, and test
2320
run: |
2421
npm install

0 commit comments

Comments
 (0)