hubot-nextbus 1.0.2 → 1.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/workflows/nodejs.yml +26 -0
- package/README.md +1 -1
- package/package.json +7 -8
- package/.travis.yml +0 -11
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
name: Node CI
|
|
2
|
+
|
|
3
|
+
on: [push]
|
|
4
|
+
|
|
5
|
+
jobs:
|
|
6
|
+
build:
|
|
7
|
+
|
|
8
|
+
runs-on: ubuntu-latest
|
|
9
|
+
|
|
10
|
+
strategy:
|
|
11
|
+
matrix:
|
|
12
|
+
node-version: [12.x, 14.x, 16.x]
|
|
13
|
+
|
|
14
|
+
steps:
|
|
15
|
+
- uses: actions/checkout@v1
|
|
16
|
+
- name: Use Node.js ${{ matrix.node-version }}
|
|
17
|
+
uses: actions/setup-node@v1
|
|
18
|
+
with:
|
|
19
|
+
node-version: ${{ matrix.node-version }}
|
|
20
|
+
- name: npm install, build, and test
|
|
21
|
+
run: |
|
|
22
|
+
npm install
|
|
23
|
+
npm run build --if-present
|
|
24
|
+
npm test
|
|
25
|
+
env:
|
|
26
|
+
CI: true
|
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Hubot Nextbus (Nashville)
|
|
2
2
|
|
|
3
|
-
[](http://badge.fury.io/js/hubot-nextbus) [](http://badge.fury.io/js/hubot-nextbus) [](https://github.com/stephenyeargin/hubot-nextbus/actions/workflows/nodejs.yml)
|
|
4
4
|
|
|
5
5
|
This Hubot package is a Nashville, Tennessee MTA bus tracker. You provide an API key and a latitude and longitude for it to obtain the next expect bus to a particular set of nearby stops.
|
|
6
6
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "hubot-nextbus",
|
|
3
3
|
"description": "A Nashville MTA integration.",
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.3",
|
|
5
5
|
"author": "Stephen Yeargin <stephen@yearg.in>",
|
|
6
6
|
"homepage": "https://github.com/stephenyeargin/hubot-nextbus",
|
|
7
7
|
"license": "MIT",
|
|
@@ -23,15 +23,14 @@
|
|
|
23
23
|
"hubot": "^3"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
|
-
"chai": "^4.3.
|
|
26
|
+
"chai": "^4.3.6",
|
|
27
27
|
"coffee-script": "^1.12.7",
|
|
28
28
|
"hubot-test-helper": "^1.9.0",
|
|
29
|
-
"husky": "^
|
|
30
|
-
"
|
|
31
|
-
"
|
|
32
|
-
"
|
|
33
|
-
"
|
|
34
|
-
"sinon": "^11.1.2",
|
|
29
|
+
"husky": "^8.0.1",
|
|
30
|
+
"mocha": "^10.0.0",
|
|
31
|
+
"nock": "^13.2.4",
|
|
32
|
+
"release-it": "^15.0.0",
|
|
33
|
+
"sinon": "^14.0.0",
|
|
35
34
|
"sinon-chai": "^3.7.0"
|
|
36
35
|
},
|
|
37
36
|
"main": "index.coffee",
|