Skip to content

更新 README 文档中错误的中英文字符 #6

更新 README 文档中错误的中英文字符

更新 README 文档中错误的中英文字符 #6

name: lint pull_request
on:
pull_request:
types:
- opened
- synchronize
jobs:
lint-commits:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: volta-cli/action@v3
- uses: pnpm/action-setup@v2
- run: pnpm install
- run: pnpm exec commitlint --from ${{ github.event.pull_request.head.sha }}~${{ github.event.pull_request.commits }} --to ${{ github.event.pull_request.head.sha }} --verbose
- run: pnpm lint
- run: pnpm build