File tree Expand file tree Collapse file tree 2 files changed +78
-0
lines changed
Expand file tree Collapse file tree 2 files changed +78
-0
lines changed Original file line number Diff line number Diff line change 1+ name : ' Setup Bun Environment'
2+ description : ' Setup Bun runtime and install dependencies'
3+ runs :
4+ using : composite
5+ steps :
6+ - uses : jdx/mise-action@5cb1df66ed5e1fb3c670ea0b62fd17a76979826a # v2.3.1
7+ - uses : actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
8+ with :
9+ path : ~/.bun/install/cache
10+ key : ${{ runner.os }}-bun-${{ hashFiles('**/bun.lock') }}
11+ restore-keys : |
12+ ${{ runner.os }}-bun-
13+ - run : bun install --frozen-lockfile
14+ shell : bash
Original file line number Diff line number Diff line change 1+ name : CI
2+
3+ on :
4+ push :
5+ branches :
6+ - main
7+ pull_request :
8+ branches :
9+ - main
10+
11+ concurrency :
12+ group : ${{ github.workflow }}-${{ github.ref }}
13+ cancel-in-progress : true
14+
15+ permissions : {}
16+
17+ jobs :
18+ lint :
19+ timeout-minutes : 10
20+ runs-on : ubuntu-latest
21+ permissions :
22+ contents : read
23+ steps :
24+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
25+ with :
26+ persist-credentials : false
27+ - uses : ./.github/actions/setup
28+ - run : bun run lint
29+
30+ build :
31+ timeout-minutes : 10
32+ runs-on : ubuntu-latest
33+ permissions :
34+ contents : read
35+ steps :
36+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
37+ with :
38+ persist-credentials : false
39+ - uses : ./.github/actions/setup
40+ - run : bun run build
41+
42+ typecheck :
43+ timeout-minutes : 10
44+ runs-on : ubuntu-latest
45+ permissions :
46+ contents : read
47+ steps :
48+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
49+ with :
50+ persist-credentials : false
51+ - uses : ./.github/actions/setup
52+ - run : bun run typecheck
53+
54+ test :
55+ timeout-minutes : 10
56+ runs-on : ubuntu-latest
57+ permissions :
58+ contents : read
59+ steps :
60+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
61+ with :
62+ persist-credentials : false
63+ - uses : ./.github/actions/setup
64+ - run : bun test
You can’t perform that action at this time.
0 commit comments