-
Notifications
You must be signed in to change notification settings - Fork 0
51 lines (45 loc) · 1.33 KB
/
push-checks-workflow.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
name: 🚀 Push Checks Workflow
on:
push:
branches-ignore:
- main
workflow_dispatch:
jobs:
checks:
name: 🫸 Push Checks
runs-on: ubuntu-latest
steps:
- name: 📥 Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Biome
uses: biomejs/setup-biome@v2
with:
version: latest
- name: 💅 Format packages/resume code (with Biome)
continue-on-error: false
run: |
biome check \
--vcs-enabled=true \
--vcs-use-ignore-file=true \
--vcs-root='.' \
--formatter-enabled=true \
--linter-enabled=false \
--organize-imports-enabled=true \
--write packages/resume
- name: 💅 Format packages/schema-resume code (with Biome)
continue-on-error: false
run: |
biome check \
--vcs-enabled=true \
--vcs-use-ignore-file=true \
--vcs-root='.' \
--formatter-enabled=true \
--linter-enabled=false \
--organize-imports-enabled=true \
--write packages/schema-resume
- name: 🚦 Git Auto Commit Lint fixes (with Biome)
uses: stefanzweifel/git-auto-commit-action@v5.1.0
with:
commit_message: "chore: format code with Biome [skip ci]"