fix: fix build speed (#1021) #821
This file contains hidden or 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: Check pull request title | |
| on: | |
| pull_request: | |
| types: [edited, opened, synchronize, reopened] | |
| jobs: | |
| check-pr-title: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: "20.10.0" | |
| - name: Cache npm cache | |
| uses: actions/cache@v4 | |
| with: | |
| path: ~/.npm | |
| key: ${{ runner.os }}-node-${{ hashFiles('package-lock.json') }} | |
| - name: Install dependencies | |
| run: npm ci | |
| - name: Check pull request title for Conventional Commits format and GitHub issue number | |
| uses: ./.github/actions/check-input-commit-message | |
| with: | |
| message: ${{ github.event.pull_request.title }} |