Skip to content

Commit

Permalink
fix: add autofix
Browse files Browse the repository at this point in the history
  • Loading branch information
riderx committed Jul 17, 2024
1 parent 9010df6 commit a703c87
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/autofix.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: autofix.ci # needed to securely identify the workflow

on:
pull_request:
push:
branches: [ "main" ]
permissions:
contents: read

jobs:
autofix:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup bun
uses: oven-sh/[email protected]
with:
bun-version: latest
- name: Install dependencies
run: bun install
- name: Lint frontend
id: lint_code_frontend
run: npm run lint -- --fix
- name: Lint backend
id: lint_code_backend
run: npm run lint-backend -- --fix
- uses: autofix-ci/action@dd55f44df8f7cdb7a6bf74c78677eb8acd40cd0a

0 comments on commit a703c87

Please sign in to comment.