[READ-ONLY] a fast, modern browser for the npm registry
at main 47 lines 1.1 kB view raw
1# needed to securely identify the workflow 2name: autofix.ci 3 4on: 5 pull_request: 6 branches: 7 - main 8 merge_group: 9 branches: 10 - main 11 12permissions: 13 contents: read 14 15jobs: 16 code: 17 name: 🤖 Autofix code 18 runs-on: ubuntu-24.04-arm 19 20 steps: 21 - uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 22 23 - uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0 24 with: 25 node-version: lts/* 26 27 - uses: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # 4e1c8eafbd745f64b1ef30a7d7ed7965034c486c 28 name: 🟧 Install pnpm 29 with: 30 cache: true 31 32 - name: 📦 Install dependencies 33 run: pnpm install 34 35 - name: 🎨 Check for non-RTL/non-a11y CSS classes 36 run: pnpm lint:css 37 38 - name: 🌐 Compare translations 39 run: pnpm i18n:check 40 41 - name: 🌍 Update lunaria data 42 run: pnpm build:lunaria 43 44 - name: 🔠 Fix lint errors 45 run: pnpm lint:fix 46 47 - uses: autofix-ci/action@635ffb0c9798bd160680f18fd73371e355b85f27 # 635ffb0c9798bd160680f18fd73371e355b85f27