migrate fpb-lint from travisci to gh actions (#5186)
parent
076d5436aa
commit
37dc474fbd
2 changed files with 17 additions and 14 deletions
@ -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 . |
@ -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 . |
|
Loading…
Reference in new issue