Skip to content

pref: beautify the preview page #5

pref: beautify the preview page

pref: beautify the preview page #5

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