File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : autofix.ci
2+
3+ on :
4+ pull_request :
5+
6+ concurrency :
7+ group : ${{ github.workflow }}-${{ github.event.number || github.ref }}
8+ cancel-in-progress : true
9+
10+ permissions :
11+ contents : write
12+
13+ jobs :
14+ autofix :
15+ name : autofix
16+ runs-on : ubuntu-latest
17+ steps :
18+ - name : Checkout
19+ uses : actions/checkout@v5.0.0
20+ with :
21+ fetch-depth : 0
22+ - name : Setup Tools
23+ uses : ./.github/actions/install
24+ - name : Fix lint issues
25+ run : pnpm lint:fix
26+ - name : Fix formatting
27+ run : pnpm format
28+ - name : Apply fixes
29+ uses : autofix-ci/action@635ffb0c9798bd160680f18fd73371e355b85f27
30+ with :
31+ commit-message : " ci: apply automated fixes"
Original file line number Diff line number Diff line change 1818 runs-on : ubuntu-latest
1919 steps :
2020 - name : Check out code
21- uses : actions/checkout@v4
21+ uses : actions/checkout@v5
2222
2323 - name : Install tools & dependencies
2424 uses : ./.github/actions/install
@@ -33,10 +33,13 @@ jobs:
3333 runs-on : ubuntu-latest
3434 steps :
3535 - name : Check out code
36- uses : actions/checkout@v4
36+ uses : actions/checkout@v5
3737
3838 - name : Install tools & dependencies
3939 uses : ./.github/actions/install
4040
4141 - name : Lint code
4242 run : pnpm check:lint
43+
44+ - name : Check formatting
45+ run : pnpm exec prettier . --check
Original file line number Diff line number Diff line change 11.solid
22dist
33* .min. *
4- package-lock.json
4+ package-lock.json
5+ .github /ISSUE_TEMPLATE /OTHER.yml
Original file line number Diff line number Diff line change 1313 "build:sitemap" : " node scripts/generateSitemap.js" ,
1414 "start" : " vinxi start" ,
1515 "e2e" : " npx playwright test" ,
16+ "format" : " prettier . --write" ,
17+ "lint:fix" : " eslint --flag unstable_native_nodejs_ts_config . --fix" ,
1618 "check:lint" : " eslint --flag unstable_native_nodejs_ts_config ." ,
1719 "check:types" : " tsc --noEmit"
1820 },
You can’t perform that action at this time.
0 commit comments