feat: resolve assignee GitHub username and @mention in PRs (CYPACK-843) #3414
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: CI | |
| on: | |
| push: | |
| branches: | |
| - main | |
| - 'cypack-*' | |
| pull_request: | |
| branches: | |
| - main | |
| - 'cypack-*' | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| node-version: [18.x, 20.x, 22.x] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| - name: Install dependencies | |
| uses: ./.github/actions/install-dependencies | |
| - name: Create .env file | |
| run: | | |
| cat > .env << EOF | |
| LINEAR_WEBHOOK_SECRET=test | |
| WEBHOOK_PORT=3000 | |
| WORKSPACE_BASE_DIR=./tmp/workspaces | |
| PROMPT_TEMPLATE_PATH=./examples/prompt-template.txt | |
| ANTHROPIC_API_KEY=test | |
| EOF | |
| - name: Run Biome | |
| run: pnpm biome ci | |
| - name: Build Packages | |
| run: pnpm build | |
| - name: Run Tests | |
| run: pnpm -r test:run | |
| - name: Upload coverage | |
| uses: codecov/codecov-action@v3 | |
| continue-on-error: true | |
| with: | |
| directory: ./coverage/ | |
| fail_ci_if_error: false |