-
-
Notifications
You must be signed in to change notification settings - Fork 425
45 lines (33 loc) · 1.07 KB
/
autofix.yml
File metadata and controls
45 lines (33 loc) · 1.07 KB
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
# needed to securely identify the workflow
name: autofix.ci
on:
pull_request:
branches:
- main
merge_group:
branches:
- main
permissions:
contents: read
jobs:
code:
name: 🤖 Autofix code
runs-on: ubuntu-24.04-arm
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
with:
node-version: lts/*
- uses: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # 4e1c8eafbd745f64b1ef30a7d7ed7965034c486c
name: 🟧 Install pnpm
- name: 📦 Install dependencies
run: pnpm install
- name: 🎨 Check for non-RTL/non-a11y CSS classes
run: pnpm lint:css
- name: 🌐 Compare translations
run: pnpm i18n:check
- name: 🌍 Update lunaria data
run: pnpm build:lunaria
- name: 🔠 Fix lint errors
run: pnpm lint:fix
- uses: autofix-ci/action@635ffb0c9798bd160680f18fd73371e355b85f27 # 635ffb0c9798bd160680f18fd73371e355b85f27