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

24 lines
449 B
YAML
Raw Normal View History

name: free-programming-books-lint
on: [push, pull_request]
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Use Node.js
uses: actions/setup-node@v3
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/