File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ ---
2+ " @ohcnetwork/leaderboard-github-plugin " : patch
3+ ---
4+
5+ Add more PR Avg. Turn Around Time datapoints and follow new standards for gloabl aggregates
Original file line number Diff line number Diff line change 1- name : Release
1+ name : CI
22
33on :
44 push :
55 branches :
66 - main
7+ pull_request :
8+ branches :
9+ - main
710
811concurrency : ${{ github.workflow }}-${{ github.ref }}
912
1013jobs :
14+ build-and-test :
15+ name : Build & Test
16+ runs-on : ubuntu-latest
17+ steps :
18+ - name : Checkout Repo
19+ uses : actions/checkout@v6
20+
21+ - name : Setup pnpm
22+ uses : pnpm/action-setup@v4
23+
24+ - name : Setup Node.js
25+ uses : actions/setup-node@v6
26+ with :
27+ node-version : 22
28+ cache : " pnpm"
29+
30+ - name : Install Dependencies
31+ run : pnpm install --frozen-lockfile
32+
33+ - name : Build Package
34+ run : pnpm build
35+
36+ - name : Run Tests
37+ run : pnpm test
38+
39+ - name : Upload Build Artifacts
40+ uses : actions/upload-artifact@v4
41+ with :
42+ name : dist
43+ path : dist/
44+
1145 release :
1246 name : Release
47+ needs : build-and-test
48+ if : github.ref == 'refs/heads/main' && github.event_name == 'push'
1349 runs-on : ubuntu-latest
1450 permissions :
1551 contents : write
3167 - name : Install Dependencies
3268 run : pnpm install --frozen-lockfile
3369
34- - name : Build Package
35- run : pnpm build
70+ - name : Download Build Artifacts
71+ uses : actions/download-artifact@v4
72+ with :
73+ name : dist
74+ path : dist/
3675
3776 - name : Create Release Pull Request or Publish to GitHub Packages
3877 id : changesets
4281 publish : pnpm changeset publish
4382 commit : " chore: version packages"
4483 title : " chore: version packages"
45- env :
46- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments