Skip to content

Commit 469080a

Browse files
authored
ci(autofix): add formatting ci process (#8)
1 parent dab7426 commit 469080a

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

.github/workflows/autofix.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: autofix.ci
2+
3+
on:
4+
pull_request:
5+
permissions:
6+
contents: write
7+
8+
jobs:
9+
autofix:
10+
runs-on: ubuntu-latest
11+
timeout-minutes: 10
12+
13+
steps:
14+
- uses: actions/checkout@v5
15+
16+
- name: Use Node.js lts/*
17+
uses: actions/setup-node@v4
18+
with:
19+
node-version: lts/*
20+
21+
- name: Setup
22+
run: npm i -g @antfu/ni
23+
24+
- name: Install
25+
run: nci
26+
27+
- name: Lint
28+
run: nr lint:fix
29+
30+
- uses: autofix-ci/action@635ffb0c9798bd160680f18fd73371e355b85f27

0 commit comments

Comments
 (0)