Skip to content

Commit

Permalink
feat: enable autofix
Browse files Browse the repository at this point in the history
  • Loading branch information
torn4dom4n committed Aug 14, 2023
1 parent ce10c41 commit ae88774
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
File renamed without changes.
27 changes: 27 additions & 0 deletions .github/workflows/autofix.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: autofix.ci

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

jobs:
autofix:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: Setup Node
uses: actions/setup-node@v3
- name: Install pnpm
uses: pnpm/action-setup@v2

- name: Install dependencies
run: pnpm install
- name: Format with Prettier
run: pnpm exec prettier -w . "!.github"

- name: Run autofix.ci
uses: autofix-ci/action@8caa572fd27b0019a65e4c695447089c8d3138b9

0 comments on commit ae88774

Please sign in to comment.