Skip to content

Commit 2c40cec

Browse files
authored
run CI on pull requests (#22)
* run CI on pull requests * use node 12
1 parent f34978b commit 2c40cec

1 file changed

Lines changed: 15 additions & 4 deletions

File tree

.github/workflows/blank.yml

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,24 @@
11
name: CI
2-
3-
on: [push]
2+
on:
3+
push:
4+
branches:
5+
- master
6+
pull_request:
7+
branches:
8+
- master
9+
paths-ignore:
10+
- '.gitignore'
11+
- '.npmignore'
12+
- '*.md'
413

514
jobs:
615
build:
7-
816
runs-on: ubuntu-latest
9-
1017
steps:
18+
- name: Install Node
19+
uses: actions/setup-node@v1
20+
with:
21+
node-version: '12.x'
1122
- uses: actions/checkout@v1
1223
- name: Run build
1324
run: npm install && npm run build

0 commit comments

Comments
 (0)