Skip to content

Commit 103bddb

Browse files
authored
ci: build before we publish (#15)
2 parents 97e4fa4 + 4dd2417 commit 103bddb

File tree

2 files changed

+5
-8
lines changed

2 files changed

+5
-8
lines changed

.github/workflows/publish.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ jobs:
2929
- run: npm version ${TAG_NAME} --git-tag-version=false
3030
env:
3131
TAG_NAME: ${{ github.event.release.tag_name || github.event.inputs.tag_name }}
32+
- run: npm run build
3233
- run: npm whoami; npm --ignore-scripts publish --provenance
3334
env:
3435
NODE_AUTH_TOKEN: ${{secrets.npm_token}}

src/model-id.ts

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@ export type GitHubModelsChatModelId =
1212
| 'openai/gpt-4.1-nano'
1313
| 'openai/gpt-4o'
1414
| 'openai/gpt-4o-mini'
15+
| 'openai/gpt-5'
16+
| 'openai/gpt-5-chat'
17+
| 'openai/gpt-5-mini'
18+
| 'openai/gpt-5-nano'
1519
| 'openai/o1'
1620
| 'openai/o1-mini'
1721
| 'openai/o1-preview'
@@ -43,14 +47,6 @@ export type GitHubModelsChatModelId =
4347
| 'xai/grok-3'
4448
| 'xai/grok-3-mini'
4549
| 'microsoft/mai-ds-r1'
46-
| 'microsoft/phi-3.5-mini-instruct'
47-
| 'microsoft/phi-3.5-moe-instruct'
48-
| 'microsoft/phi-3-medium-128k-instruct'
49-
| 'microsoft/phi-3-medium-4k-instruct'
50-
| 'microsoft/phi-3-mini-128k-instruct'
51-
| 'microsoft/phi-3-mini-4k-instruct'
52-
| 'microsoft/phi-3-small-128k-instruct'
53-
| 'microsoft/phi-3-small-8k-instruct'
5450
| 'microsoft/phi-4'
5551
| 'microsoft/phi-4-mini-instruct'
5652
| 'microsoft/phi-4-mini-reasoning'

0 commit comments

Comments
 (0)