chore: add auto assignment script for pull requests #1
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: Integration | |
| on: | |
| pull_request: | |
| types: [synchronize, opened] | |
| branches: | |
| - main | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| check-quality: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| command: ['lint', 'type', 'format'] | |
| steps: | |
| - name: Checkout Repository | |
| uses: actions/checkout@v5 | |
| - name: Install Node.js | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: 20 | |
| registry-url: 'https://npm.pkg.github.com/' | |
| - name: Prepare Corepack | |
| run: corepack prepare pnpm@10 --activate | |
| - name: Install dependencies | |
| run: pnpm install | |
| - name: Run check:${{ matrix.command }} | |
| run: pnpm check:${{ matrix.command }} |