Skip to content

Commit dda7c29

Browse files
committed
fix: CI
1 parent dc668b8 commit dda7c29

File tree

2 files changed

+13
-12
lines changed

2 files changed

+13
-12
lines changed

.github/workflows/quality-checks.yml

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,17 @@ jobs:
1313
steps:
1414
- name: Checkout
1515
uses: actions/[email protected]
16+
17+
- name: Use Node.js 20.18.0
18+
uses: actions/setup-node@v4
1619
with:
17-
fetch-depth: 0
18-
- name: Pre-commit
19-
uses: pre-commit/[email protected]
20-
with:
21-
extra_args: --from-ref ${{ github.event.pull_request.base.sha }} --to-ref ${{ github.event.pull_request.head.sha }}
22-
# - name: CODEOWNERS validator
23-
# uses: mszostok/[email protected]
24-
# with:
25-
# checks: files,duppatterns,syntax,owners
26-
# experimental_checks: notowned
27-
# github_access_token: ${{ secrets.GH_PAT_RO }}
20+
node-version: 20.18.0
21+
cache: 'npm'
22+
23+
- name: Install dependencies
24+
run: npm install
25+
26+
- name: Run tests
27+
run: npm run test
28+
29+

src/example.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import { AI21 } from './AI21';
2-
32
/*
43
This is a temporary example to test the API streaming/non-streaming functionality.
54
*/

0 commit comments

Comments
 (0)