File tree Expand file tree Collapse file tree 3 files changed +73
-0
lines changed
Expand file tree Collapse file tree 3 files changed +73
-0
lines changed Original file line number Diff line number Diff line change 1+ name : format
2+
3+ on :
4+ push :
5+ branches : [master]
6+ pull_request :
7+ workflow_dispatch :
8+
9+ jobs :
10+ format :
11+ runs-on : ubuntu-latest
12+
13+ permissions :
14+ contents : write
15+ pull-requests : write
16+
17+ steps :
18+ - uses : actions/checkout@v4
19+ with :
20+ ref : ${{ github.head_ref }}
21+ fetch-depth : 0
22+ - uses : oven-sh/setup-bun@v2
23+ - run : |
24+ git config --local user.email "github-actions[bot]@users.noreply.github.com"
25+ git config --local user.name "github-actions[bot]"
26+ ./scripts/format
Original file line number Diff line number Diff line change 1+ name : release
2+
3+ on :
4+ push :
5+ branches :
6+ - master
7+
8+ permissions :
9+ contents : write
10+ pull-requests : write
11+
12+ concurrency : ${{ github.workflow }}-${{ github.ref }}
13+
14+ jobs :
15+ release :
16+ name : release
17+ runs-on : ubuntu-latest
18+ steps :
19+ - uses : actions/checkout@v3
20+ - uses : oven-sh/setup-bun@v2
21+ - run : bun install
22+ - id : changesets
23+ uses : changesets/action@v1
24+ with :
25+ publish : bun run release
26+ env :
27+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
28+ NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
Original file line number Diff line number Diff line change 1+ name : test
2+
3+ on :
4+ push :
5+ branches : [master]
6+ pull_request :
7+ workflow_dispatch :
8+
9+ jobs :
10+ test :
11+ runs-on : ubuntu-latest
12+
13+ steps :
14+ - uses : actions/checkout@v4
15+ - uses : oven-sh/setup-bun@v2
16+ with :
17+ bun-version : latest
18+ - run : bun install
19+ - run : cd packages/opencontrol && bun test
You can’t perform that action at this time.
0 commit comments