refactor: 准备迁移到 Nuxt 4 #32
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: autofix.ci # needed to securely identify the workflow | |
on: | |
pull_request: | |
branches-ignore: | |
- renovate/** | |
push: | |
branches-ignore: | |
- insider | |
- latest | |
- renovate/** | |
permissions: | |
contents: read | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.head_ref || github.ref_name }} | |
cancel-in-progress: true | |
jobs: | |
lint: | |
name: 代码风格检查 | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: pnpm/action-setup@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version-file: package.json | |
cache: pnpm | |
- run: pnpm install | |
- run: pnpm lint --fix | |
- uses: autofix-ci/[email protected] | |
if: always() | |
with: | |
commit-message: 'style: autofix' |