1
0
mirror of https://github.com/namibia/free-programming-books.git synced 2024-12-26 00:27:30 +00:00

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

This commit is contained in:
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 .