feat: 使用eslint规范代码, 城市筛选添加本地缓存 #9
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 | |
run: pnpm run lint | |
- uses: autofix-ci/action@d3e591514b99d0fca6779455ff8338516663f7cc |