feat: 新增基于Nuxt ESLint的符合本项目代码风格的ESlint规则配置 #13
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 | |
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: ESLint Autofix | |
run: pnpm lint:fix | |
- uses: autofix-ci/action@d3e591514b99d0fca6779455ff8338516663f7cc |