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 # needed to securely identify the workflow
2-
3- on :
4- pull_request :
5- push :
6- branches : ["main"]
7-
8- permissions :
9- contents : read
10-
1+ name : autofix.ci
2+ on : { push: {}, pull_request: {} }
3+ permissions : { contents: read }
114jobs :
125 autofix :
136 runs-on : ubuntu-latest
147 steps :
158 - uses : actions/checkout@v6
16- - run : corepack enable
9+ - run : npm i -fg corepack && corepack enable
1710 - uses : actions/setup-node@v6
18- with :
19- node-version : 22
20- cache : " pnpm"
11+ with : { node-version: lts/*, cache: "pnpm" }
2112 - run : pnpm install
22- - run : pnpm lint:fix
23- - uses : autofix-ci/action@7a166d7532b277f34e16238930461bf77f9d7ed8
24- with :
25- commit-message : " chore: apply automated updates"
13+ - run : pnpm format
14+ - uses : autofix-ci/action@635ffb0c9798bd160680f18fd73371e355b85f27
15+ with : { commit-message: "chore: apply automated updates" }
Original file line number Diff line number Diff line change 1+ name : checks
2+ on : { push: {}, pull_request: {} }
3+ jobs :
4+ checks :
5+ runs-on : ubuntu-latest
6+ steps :
7+ - uses : actions/checkout@v6
8+ - run : npm i -fg corepack && corepack enable
9+ - uses : actions/setup-node@v6
10+ with : { node-version: lts/*, cache: "pnpm" }
11+ - run : pnpm install
12+ - run : pnpm typecheck
13+ - run : pnpm vitest --coverage
14+ - run : pnpm run lint
15+ - uses : codecov/codecov-action@v5
16+ with : { token: "${{ secrets.CODECOV_TOKEN }}" }
Load diff This file was deleted.
You can’t perform that action at this time.
0 commit comments