Skip to content

Commit

Permalink
update auto format code workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
patinthehat committed Nov 17, 2024
1 parent c06df6b commit a6f1148
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/format-code.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@ jobs:
with:
ref: ${{ github.head_ref }}

- name: Run prettier
uses: docker://permafrostsoftware/prettier-docker-ga
- uses: oven-sh/setup-bun@v2
with:
args: --config prettier.config.js *.js *.json *.yml ./src/* ./tests/*
bun-version: latest

- name: Run Prettier
run: node_modules/.bin/prettier --config prettier.config.js *.js *.json *.yml ./src/* ./tests/*

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

- name: Commit changes
uses: stefanzweifel/git-auto-commit-action@v5
Expand Down

0 comments on commit a6f1148

Please sign in to comment.