File tree Expand file tree Collapse file tree 2 files changed +36
-6
lines changed
Expand file tree Collapse file tree 2 files changed +36
-6
lines changed Original file line number Diff line number Diff line change 1+ name : Format Files
2+
3+ on :
4+ push :
5+ branches :
6+ - main
7+
8+ jobs :
9+ setup :
10+ runs-on : ubuntu-latest
11+ steps :
12+ - name : Check out code
13+ uses : actions/checkout@v4
14+
15+ - name : Setup pnpm
16+ uses : pnpm/action-setup@v4
17+ with :
18+ version : 9
19+ run_install : false
20+
21+ - name : Setup Node.js
22+ uses : actions/setup-node@v4
23+ with :
24+ node-version : 20
25+ cache : pnpm
26+
27+ - name : Install dependencies
28+ run : pnpm install
29+
30+ - name : Format files
31+ run : pnpm run format
32+
33+ - name : Commit changes
34+ uses : stefanzweifel/git-auto-commit-action@v5
35+ with :
36+ commit_message : " ci: Format files"
Original file line number Diff line number Diff line change 7272 key : ${{ runner.os }}-pnpm-${{ hashFiles('**/pnpm-lock.yaml') }}
7373 - name : ESLint check
7474 run : pnpm check:lint
75- - name : Format files
76- run : pnpm format
77- - name : Commit changes
78- uses : stefanzweifel/git-auto-commit-action@v5
79- with :
80- commit_message : " ci: Format files"
You can’t perform that action at this time.
0 commit comments