-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (27 loc) · 862 Bytes
/
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
name: Linting
on: [push]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Build PHP
run: composer install --optimize-autoloader
- uses: oven-sh/setup-bun@v2
with:
bun-version: latest
- name: Install Packages w/ Bun
run: bun install
- name: Lint PHP
run: bun run lint:php
- name: Lint JS
run: bun run lint:js
- name: Validate Types
run: bun run lint:ts
- name: Lint CSS
run: bun run lint:css
- name: Lint package.json
run: bun run lint:pkg-json
- name: Lint Markdown Docs
run: bun run lint:md:docs