Skip to content

Commit

Permalink
ci: add github actions support (#31)
Browse files Browse the repository at this point in the history
  • Loading branch information
redonkulus authored Mar 30, 2022
1 parent 3580683 commit 1a36d1c
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 12 deletions.
25 changes: 25 additions & 0 deletions .github/workflow/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Testing

on:
push:
branches: [master]
pull_request:
branches: [master]

jobs:
test:
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [14.x, 16.x]

steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- run: npm i
- run: npm run lint
- run: npm test
5 changes: 0 additions & 5 deletions .travis.yml

This file was deleted.

7 changes: 3 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
express-busboy
--------------
# express-busboy

A simple `body-parser` like module for express that
uses [`connect-busboy`](/~https://github.com/mscdex/connect-busboy) under the hood.
Expand All @@ -11,8 +10,8 @@ usage
-----

```js
var bb = require('express-busboy');
var app = express();
import bb from 'express-busboy';
const app = express();

bb.extend(app);
```
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"author": "Dav Glass <davglass@gmail.com>",
"main": "index.js",
"scripts": {
"pretest": "eslint --fix .",
"lint": "eslint --fix .",
"test": "jenkins-mocha tests/*.js",
"posttest": "nyc report"
},
Expand All @@ -30,9 +30,9 @@
"uuid": "~1.4.1"
},
"devDependencies": {
"eslint": "^5.9.0",
"eslint": "^8.12.0",
"express": "^4.16.4",
"jenkins-mocha": "^6.0.0",
"jenkins-mocha": "^9.0.0",
"nyc": "^13.1.0",
"portfinder": "~0.2.1",
"request": "^2.88.0"
Expand Down

0 comments on commit 1a36d1c

Please sign in to comment.