Skip to content

Commit 135085c

Browse files
authored
Merge pull request #333 from benjamine/ci
Add CI
2 parents a8cde4c + 5c31368 commit 135085c

File tree

3 files changed

+23
-2
lines changed

3 files changed

+23
-2
lines changed

.github/workflows/CI.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Node.js CI
2+
3+
on:
4+
push:
5+
branches: [master]
6+
pull_request:
7+
branches: [master]
8+
9+
jobs:
10+
build:
11+
12+
runs-on: ubuntu-latest
13+
14+
steps:
15+
- uses: actions/checkout@v3
16+
- name: Use Node.js 8.17.0
17+
uses: actions/setup-node@v3
18+
with:
19+
node-version: 8.17.0
20+
cache: 'npm'
21+
- run: npm ci

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
"bump": "gulp bump",
2626
"test": "nyc mocha",
2727
"watch": "nodemon --exec \"mocha\"",
28-
"prepublish": "npm run build && npm run build-dist",
28+
"prepublishOnly": "npm run build && npm run build-dist",
2929
"cover-report": "open coverage/lcov-report/index.html",
3030
"cover-publish": "nyc mocha && codeclimate < coverage/lcov.info"
3131
},

0 commit comments

Comments
 (0)