Skip to content

Commit f0e8e3e

Browse files
committed
Add Github CI
1 parent d7c3e26 commit f0e8e3e

File tree

3 files changed

+18
-2
lines changed

3 files changed

+18
-2
lines changed

.github/workflows/main.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: CI
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
build:
7+
8+
runs-on: ubuntu-latest
9+
10+
steps:
11+
- uses: actions/checkout@v1
12+
- name: build
13+
run: |
14+
npm install
15+
npm run test
16+
npm run build

.travis.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
language: node_js
22
node_js:
33
- "8"
4-
before_install:
5-
- npm install -g grunt-cli
64
after_success: grunt coveralls

package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
"foodoc": "^0.0.9",
2828
"grunt": "^1.0.2",
2929
"grunt-banner": "^0.6.0",
30+
"grunt-cli": "^1.3.2",
3031
"grunt-contrib-clean": "^1.0.0",
3132
"grunt-contrib-concat": "^1.0.0",
3233
"grunt-contrib-connect": "^1.0.0",
@@ -69,6 +70,7 @@
6970
"url": "https://github.com/mistic100/jQuery-QueryBuilder/issues"
7071
},
7172
"scripts": {
73+
"build": "grunt",
7274
"serve": "grunt serve",
7375
"test": "grunt test"
7476
}

0 commit comments

Comments
 (0)