Skip to content

chore: 更新依赖项和 Ruff 设置 #20

chore: 更新依赖项和 Ruff 设置

chore: 更新依赖项和 Ruff 设置 #20

Workflow file for this run

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