File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1111 name : Build ${{ matrix.target }}
1212 runs-on : ${{ matrix.os }}
1313 timeout-minutes : 15
14- # Limit ARM64 concurrency to help with runner availability
1514 concurrency :
1615 group : arm64-${{ matrix.target }}-${{ github.ref }}
1716 cancel-in-progress : false
@@ -150,4 +149,4 @@ jobs:
150149 name : mcp-docsrs-${{ matrix.target }}
151150 path : |
152151 dist/mcp-docsrs-${{ matrix.target }}*
153- retention-days : 30
152+ retention-days : 3
Original file line number Diff line number Diff line change 11name : CI/CD Pipeline
2-
32on :
43 push :
54 branches : [main]
1110 required : false
1211 default : false
1312 type : boolean
14-
1513jobs :
16- quick-check :
17- name : Quick PR Validation
18- runs-on : ${{ vars.RUNNER }}
19-
20- steps :
21- - name : Checkout code
22- uses : actions/checkout@v6
23-
24- - name : Setup Bun
25- uses : oven-sh/setup-bun@v2
26- with :
27- bun-version : ' 1.2.14'
28-
29- - name : Cache dependencies
30- uses : ubicloud/cache@v4
31- with :
32- path : |
33- ~/.bun/install/cache
34- node_modules
35- key : ${{ runner.os }}-bun-pr-${{ hashFiles('**/bun.lock') }}
36- restore-keys : |
37- ${{ runner.os }}-bun-pr-
38- ${{ runner.os }}-bun-
39-
40- - name : Install dependencies
41- run : bun install --frozen-lockfile
42-
43- - name : Run linter
44- id : lint
45- run : bun run lint
46-
47- - name : Run type check
48- id : typecheck
49- run : bun run typecheck
50-
51- - name : Run tests
52- id : tests
53- run : bun test
54-
55- - name : Test build
56- id : build
57- run : bun run build:linux-x64
58-
59- - name : Summary
60- if : always()
61- run : |
62- echo "## 📋 PR Check Summary" >> $GITHUB_STEP_SUMMARY
63- echo "" >> $GITHUB_STEP_SUMMARY
64- echo "- **Linting**: ${{ steps.lint.outcome }}" >> $GITHUB_STEP_SUMMARY
65- echo "- **Type Check**: ${{ steps.typecheck.outcome }}" >> $GITHUB_STEP_SUMMARY
66- echo "- **Tests**: ${{ steps.tests.outcome }}" >> $GITHUB_STEP_SUMMARY
67- echo "- **Build**: ${{ steps.build.outcome }}" >> $GITHUB_STEP_SUMMARY
68-
6914 test :
7015 name : Test Suite
7116 uses : ./.github/workflows/test-workflow.yml
You can’t perform that action at this time.
0 commit comments