Skip to content

Commit

Permalink
ci: add autofix
Browse files Browse the repository at this point in the history
  • Loading branch information
yjl9903 committed Mar 21, 2024
1 parent 4f5c7fb commit e8e3805
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/autofix.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: autofix.ci

on:
push:
branches:
- main

pull_request: {}

permissions:
contents: read

jobs:
autofix:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- name: Setup pnpm
uses: pnpm/[email protected]

- name: Setup node
uses: actions/setup-node@v4
with:
node-version: 20.x
cache: pnpm

- name: Install
run: pnpm install

- name: Format
run: pnpm format

- uses: autofix-ci/action@d3e591514b99d0fca6779455ff8338516663f7cc

0 comments on commit e8e3805

Please sign in to comment.