Skip to content

Commit c2c481b

Browse files
committed
Simplify checks
1 parent 03aa701 commit c2c481b

File tree

1 file changed

+4
-14
lines changed

1 file changed

+4
-14
lines changed

.github/workflows/nodejs.yml

Lines changed: 4 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,18 @@
11
name: Node CI
22

3-
on:
4-
pull_request:
5-
branches:
6-
- master
3+
on: push
74
jobs:
85
build:
9-
runs-on: ${{ matrix.os }}
10-
11-
strategy:
12-
fail-fast: false
13-
matrix:
14-
os: [ubuntu-latest, windows-latest, macos-latest]
15-
6+
runs-on: ubuntu-latest
167
steps:
17-
- uses: actions/checkout@v1
8+
- uses: actions/checkout@v2
189
- name: Use Node.js 12.x
1910
uses: actions/setup-node@v1
2011
with:
2112
node-version: 12.x
22-
- name: npm install, build, and test
13+
- name: npm install, and test
2314
run: |
2415
npm install
25-
npm run build --if-present
2616
npm test
2717
env:
2818
CI: true

0 commit comments

Comments
 (0)