mirror of
https://github.com/namibia/free-programming-books.git
synced 2024-12-25 16:11:06 +00:00
migrate fpb-lint from travisci to gh actions (#5186)
This commit is contained in:
parent
076d5436aa
commit
37dc474fbd
17
.github/workflows/fpb-lint.yml
vendored
Normal file
17
.github/workflows/fpb-lint.yml
vendored
Normal 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 .
|
14
.travis.yml
14
.travis.yml
@ -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
Block a user