2
0
mirror of https://github.com/frappe/books.git synced 2025-01-23 23:28:24 +00:00

36 lines
632 B
YAML
Raw Normal View History

name: Lint
on:
push:
branches: [$default-branch]
paths-ignore:
- '**.md'
pull_request:
paths-ignore:
- '**.md'
workflow_dispatch:
jobs:
setup_and_lint:
runs-on: macos-latest
steps:
- name: Setup node
2025-01-03 11:16:57 +05:30
uses: actions/setup-node@v4
with:
2024-12-13 23:15:05 +01:00
node-version: '20.18.1'
- name: Set yarn version
run: yarn set version 1.22.18
- name: Checkout Books
2025-01-03 11:16:57 +05:30
uses: actions/checkout@v4
- name: Install Dependencies
run: yarn
- name: Lint
run: yarn lint
- name: Check Formatting
run: yarn prettier --check .