refactor: 删除多余的 type: ignore 注释并修复类型问题 (#125) #13
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: Lint Other Files | |
on: | |
push: | |
branches: | |
- master | |
paths-ignore: | |
- '**.py' | |
pull_request: | |
paths-ignore: | |
- '**.py' | |
workflow_dispatch: | |
jobs: | |
prettier: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: pnpm/action-setup@v3 | |
with: | |
version: latest | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: latest | |
cache: pnpm | |
- run: pnpm install | |
shell: bash | |
- run: pnpm run prettier | |
eslint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: pnpm/action-setup@v3 | |
with: | |
version: latest | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: latest | |
cache: pnpm | |
- run: pnpm install | |
shell: bash | |
- run: pnpm run eslint |