Skip to content

Commit 666e20c

Browse files
chore: addresses more PR feedback
1. use commit sha for github actions 2. run workflow also on pushes to main 3. use ai-sdk/google instead of privately published package
1 parent 1cc93f2 commit 666e20c

File tree

3 files changed

+29
-75
lines changed

3 files changed

+29
-75
lines changed

.github/workflows/accuracy-tests.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,12 @@ name: Accuracy Tests
22

33
on:
44
workflow_dispatch:
5+
push:
6+
branches:
7+
- main
58
pull_request:
6-
types: [labeled]
9+
types:
10+
- labeled
711

812
jobs:
913
run-accuracy-tests:
@@ -41,6 +45,6 @@ jobs:
4145
path: .accuracy/tests-summary.html
4246
- name: Comment summary on PR
4347
if: github.event_name == 'pull_request' && github.event.label.name == 'accuracy-tests'
44-
uses: marocchino/sticky-pull-request-comment@v2
48+
uses: marocchino/sticky-pull-request-comment@d2ad0de260ae8b0235ce059e63f2949ba9e05943 # v2
4549
with:
4650
path: .accuracy/tests-summary.html

package-lock.json

Lines changed: 19 additions & 68 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,19 +35,18 @@
3535
},
3636
"license": "Apache-2.0",
3737
"devDependencies": {
38-
"@ai-sdk/anthropic": "^1.2.12",
39-
"@ai-sdk/azure": "^1.3.23",
40-
"@ai-sdk/openai": "^1.3.22",
38+
"@ai-sdk/azure": "^1.3.24",
39+
"@ai-sdk/openai": "^1.3.23",
4140
"@eslint/js": "^9.30.1",
42-
"@himanshusinghs/google": "^1.2.11",
41+
"@ai-sdk/google": "^1.2.22",
4342
"@jest/globals": "^30.0.4",
4443
"@modelcontextprotocol/inspector": "^0.16.0",
4544
"@redocly/cli": "^1.34.4",
4645
"@types/jest": "^30.0.0",
4746
"@types/node": "^24.0.12",
4847
"@types/simple-oauth2": "^5.0.7",
4948
"@types/yargs-parser": "^21.0.3",
50-
"ai": "^4.3.16",
49+
"ai": "^4.3.17",
5150
"eslint": "^9.30.1",
5251
"eslint-config-prettier": "^10.1.5",
5352
"eslint-plugin-jest": "^29.0.1",

0 commit comments

Comments
 (0)