Skip to content

Commit

Permalink
Use GitHub actions for linting
Browse files Browse the repository at this point in the history
  • Loading branch information
reconbot committed Aug 31, 2019
1 parent 3a13279 commit 460a4a7
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 3 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Lint

on: [push]

jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Use Node.js 12
uses: actions/setup-node@v1
with:
node-version: 12
- name: npm install and lint
run: |
npm install
npm run lint
1 change: 0 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@ install:
- npm run rebuild

script:
- npm run lint
- npm test

# if publishing, do it
Expand Down
1 change: 0 additions & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ build_script:
- npm run rebuild

test_script:
- npm run lint
- npm test

- ps: >
Expand Down
2 changes: 1 addition & 1 deletion packages/bindings/lib/bindings.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ function testBinding(bindingName, Binding, testPort) {
})
})

it('has objects with undefined when there is no data', () => {
it.only('has objects with undefined when there is no data', () => {
return Binding.list().then(ports => {
assert.isArray(ports)
if (ports.length === 0) {
Expand Down

0 comments on commit 460a4a7

Please sign in to comment.