2020-11-29 23:39:35 +00:00
|
|
|
name: free-programming-books-lint
|
|
|
|
|
2021-01-12 20:44:08 +00:00
|
|
|
on: [push, pull_request]
|
2020-11-29 23:39:35 +00:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
steps:
|
2022-03-07 22:33:24 +00:00
|
|
|
- uses: actions/checkout@v3
|
2020-11-29 23:39:35 +00:00
|
|
|
- name: Use Node.js
|
2022-02-15 15:38:57 +00:00
|
|
|
uses: actions/setup-node@v2
|
2020-11-29 23:39:35 +00:00
|
|
|
with:
|
2021-09-30 17:40:06 +00:00
|
|
|
node-version: '16.x'
|
2020-11-29 23:39:35 +00:00
|
|
|
- run: npm install -g free-programming-books-lint
|
2020-12-28 17:19:50 +00:00
|
|
|
- run: fpb-lint ./books/
|
|
|
|
- run: fpb-lint ./casts/
|
|
|
|
- run: fpb-lint ./courses/
|
|
|
|
- run: fpb-lint ./more/
|