Skip to content

Commit d8b1dc0

Browse files
committed
update auto format code workflow
1 parent 77394e2 commit d8b1dc0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/format-code.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@ jobs:
1818
bun-version: latest
1919

2020
- name: Run Prettier
21-
run: bunx prettier --config prettier.config.js *.json ./src/* ./tests/*
21+
run: bunx prettier --config prettier.config.js --write *.json ./src/* ./tests/*
2222

2323
- name: Run ESLint
24-
run: bunx eslint --config eslint.config.js --fix --ext ts,js ./src/**/* ./tests/**/*
24+
run: bunx eslint --config eslint.config.js --fix ./src/**/* ./tests/**/*
2525

2626
- name: Commit changes
2727
uses: stefanzweifel/git-auto-commit-action@v5

0 commit comments

Comments
 (0)