Skip to content

Commit a6f1148

Browse files
committed
update auto format code workflow
1 parent c06df6b commit a6f1148

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/format-code.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,15 @@ jobs:
1313
with:
1414
ref: ${{ github.head_ref }}
1515

16-
- name: Run prettier
17-
uses: docker://permafrostsoftware/prettier-docker-ga
16+
- uses: oven-sh/setup-bun@v2
1817
with:
19-
args: --config prettier.config.js *.js *.json *.yml ./src/* ./tests/*
18+
bun-version: latest
19+
20+
- name: Run Prettier
21+
run: node_modules/.bin/prettier --config prettier.config.js *.js *.json *.yml ./src/* ./tests/*
2022

2123
- name: Run ESLint
22-
uses: permafrost-dev/eslint-docker-ga@main
23-
with:
24-
args: --config .eslintrc.js --fix --ext ts,js ./src/**/* ./tests/**/*
24+
run: node_modules/.bin/eslint --config eslint.config.js --fix --ext ts,js ./src/**/* ./tests/**/*
2525

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

0 commit comments

Comments
 (0)