Skip to content

Commit

Permalink
ci: Setup autofix.ci
Browse files Browse the repository at this point in the history
  • Loading branch information
YDX-2147483647 committed Oct 19, 2024
1 parent b77839d commit 0339e2f
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 5 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/autofix.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
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:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
with:
version: 9
- uses: actions/setup-node@v4
with:
node-version: 20
cache: pnpm
- run: pnpm install
- run: pnpm format
- uses: autofix-ci/action@dd55f44df8f7cdb7a6bf74c78677eb8acd40cd0a
10 changes: 5 additions & 5 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
pnpm-lock.yaml
node_modules
wiki/.vitepress/dist
/pnpm-lock.yaml
/node_modules
/wiki/.vitepress/dist
/wiki/.vitepress/cache

.DS_Store
wiki/.vitepress/cache
.github

0 comments on commit 0339e2f

Please sign in to comment.