更新READMD文档,添加了在使用vue,并且使用了vue macros时,$变量冲突的说明 #4
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 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 |