Skip to content

Commit a469c53

Browse files
committed
Set up GitHub actions
1 parent 90d7fff commit a469c53

File tree

4 files changed

+26
-3
lines changed

4 files changed

+26
-3
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
name: Pull Requests
2+
3+
on:
4+
pull_request:
5+
branches: [master]
6+
7+
jobs:
8+
test:
9+
uses: ./.github/workflows/test.yml

.github/workflows/test.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
on:
2+
workflow_call:
3+
4+
jobs:
5+
test:
6+
runs-on: ubuntu-latest
7+
steps:
8+
- name: Git checkout
9+
uses: actions/checkout@v2
10+
11+
- uses: actions/setup-node@v2
12+
- run: npm install
13+
- run: npm test

.travis.yml

Lines changed: 0 additions & 2 deletions
This file was deleted.

package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@
55
"author": "Jason Chen <jhchen7@gmail.com>",
66
"main": "diff.js",
77
"types": "diff.d.ts",
8+
"files": [
9+
"diff.d.ts"
10+
],
811
"devDependencies": {
912
"lodash": "~4.17.21",
1013
"nyc": "~15.1.0",
@@ -24,4 +27,4 @@
2427
"keywords": [
2528
"diff"
2629
]
27-
}
30+
}

0 commit comments

Comments
 (0)