Skip to content

Commit

Permalink
ci: add autofix
Browse files Browse the repository at this point in the history
  • Loading branch information
elonehoo committed Oct 1, 2023
1 parent 7ed0c34 commit 327119e
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/autofix.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: autofix.ci

on:
push:
branches:
- main

pull_request:
branches:
- main

permissions:
contents: read

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

- name: Setup PNPM
run: corepack enable

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

- name: Install
run: pnpm install --no-frozen-lockfile

- name: Lint and fix
run: pnpm run lint:fix

- uses: autofix-ci/action@8caa572fd27b0019a65e4c695447089c8d3138b9

0 comments on commit 327119e

Please sign in to comment.