mirror of
https://github.com/frappe/books.git
synced 2024-11-15 09:54:04 +00:00
7c202ecee8
- type in workflow
32 lines
562 B
YAML
32 lines
562 B
YAML
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
|
|
uses: actions/setup-node@v2
|
|
with:
|
|
node-version: '16.14.0'
|
|
|
|
- name: Set yarn version
|
|
run: yarn set version 1.22.18
|
|
|
|
- name: Checkout Books
|
|
uses: actions/checkout@v2
|
|
|
|
- name: Install Dependencies
|
|
run: yarn
|
|
|
|
- name: Lint
|
|
run: yarn lint |