free-programming-books/.github/workflows/fpb-lint.yml

21 lines
418 B
YAML
Raw Normal View History

name: free-programming-books-lint
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js
2022-02-15 15:38:57 +00:00
uses: actions/setup-node@v2
with:
2021-09-30 17:40:06 +00:00
node-version: '16.x'
- run: npm install -g free-programming-books-lint
- run: fpb-lint ./books/
- run: fpb-lint ./casts/
- run: fpb-lint ./courses/
- run: fpb-lint ./more/