-
Notifications
You must be signed in to change notification settings - Fork 0
58 lines (55 loc) · 1.42 KB
/
lint.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
---
name: Lint
# yamllint disable-line rule:truthy
on:
push:
branches:
- dev
pull_request:
types:
- opened
- reopened
- synchronize
workflow_dispatch:
concurrency:
group: lint-${{ github.head_ref || github.ref }}
cancel-in-progress: true
jobs:
lint-eslint:
name: 👕 ESLint
runs-on: ubuntu-latest
steps:
- name: ⤵️ Check out code from GitHub
uses: actions/checkout@v4.2.2
with:
ref: ${{ github.head_ref }}
- name: 🏗️ Setup PNPM
uses: ./.github/actions/setup-app
with:
cache-build: false
- name: 👕 Run ESLint
run: pnpm lint
env:
SKIP_ENV_VALIDATION: true
lint-prettier:
name: 🎨 Prettier
runs-on: ubuntu-latest
steps:
- name: ⤵️ Check out code from GitHub
uses: actions/checkout@v4.2.2
with:
ref: ${{ github.head_ref }}
- name: 🏗️ Setup PNPM
uses: ./.github/actions/setup-app
with:
cache-build: false
- name: 🎨 Run Prettier
run: pnpm check-format
env:
SKIP_ENV_VALIDATION: true
lint-markdown-links:
uses: timmo001/workflows/.github/workflows/lint-markdown-links.yml@master
lint-markdownlint:
uses: timmo001/workflows/.github/workflows/lint-markdownlint.yml@master
lint-yamllint:
uses: timmo001/workflows/.github/workflows/lint-yamllint.yml@master