Skip to content

Commit bc9e806

Browse files
committed
chore: upgrade deps, add CI type-check, and fix workflow issues
- Upgrade `@octokit/types` to 16.0.0 and `typescript` to 6.0.2 - Add `type-check` job to CI with `tsc --noEmit` - Add `"types": ["bun-types"]` to tsconfig for proper type resolution - Remove dead `cache-linguist` condition in update-gist workflow
1 parent 4b29b19 commit bc9e806

5 files changed

Lines changed: 21 additions & 7 deletions

File tree

.github/workflows/check.yml

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,22 @@ jobs:
1010
runs-on: ubuntu-latest
1111
steps:
1212
- name: Checkout
13-
uses: actions/checkout@v5
13+
uses: actions/checkout@v6
1414
- name: Setup Biome
1515
uses: biomejs/setup-biome@v2
1616
with:
1717
version: latest
1818
- name: Run Biome
19-
run: biome ci .
19+
run: biome ci .
20+
21+
type-check:
22+
runs-on: ubuntu-latest
23+
steps:
24+
- name: Checkout
25+
uses: actions/checkout@v6
26+
- name: Set up Bun
27+
uses: oven-sh/setup-bun@v2
28+
- name: Install dependencies
29+
run: bun i
30+
- name: Type check
31+
run: bun run tsc --noEmit

.github/workflows/update-gist.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
runs-on: ubuntu-latest
1313
steps:
1414
- name: Checkout repository
15-
uses: actions/checkout@v5
15+
uses: actions/checkout@v6
1616
with:
1717
fetch-depth: 0
1818

@@ -25,7 +25,6 @@ jobs:
2525
sudo apt-get install -y cmake pkg-config libicu-dev zlib1g-dev libcurl4-openssl-dev libssl-dev ruby-dev
2626
2727
- name: Install GitHub Linguist
28-
if: steps.cache-linguist.outputs.cache-hit != 'true'
2928
run: sudo gem install github-linguist
3029

3130
- name: Install dependencies

bun.lockb

-834 Bytes
Binary file not shown.

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@
77
},
88
"devDependencies": {
99
"@biomejs/biome": "2.4.10",
10-
"@octokit/types": "14.1.0",
10+
"@octokit/types": "16.0.0",
1111
"@types/bun": "1.3.11",
12-
"typescript": "5.9.3"
12+
"typescript": "6.0.2"
1313
},
1414
"dependencies": {
1515
"@octokit/request": "10.0.8"
1616
},
17-
"packageManager": "bun@1.2.20"
17+
"packageManager": "bun@1.3.11"
1818
}

tsconfig.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@
1313
"verbatimModuleSyntax": true,
1414
"noEmit": true,
1515

16+
// Types
17+
"types": ["bun-types"],
18+
1619
// Best practices
1720
"strict": true,
1821
"skipLibCheck": true,

0 commit comments

Comments
 (0)