migrate fpb-lint from travisci to gh actions (#5186)

pull/5195/head
borgified 2020-11-29 15:39:35 -08:00 committed by GitHub
parent 076d5436aa
commit 37dc474fbd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 17 additions and 14 deletions

17
.github/workflows/fpb-lint.yml vendored Normal file
View File

@ -0,0 +1,17 @@
name: free-programming-books-lint
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js
uses: actions/setup-node@v1
with:
node-version: '6.x'
- run: npm install -g free-programming-books-lint
- run: fpb-lint .

View File

@ -1,14 +0,0 @@
language: shell
dist: xenial
os: linux
jobs:
include:
-
language: node_js
node_js:
- 6
before_script:
- npm install -g free-programming-books-lint
script:
- fpb-lint .