Skip to content

Commit f832dc8

Browse files
add node setup to workflow
Signed-off-by: Ashwin Vaidya <[email protected]>
1 parent b910b87 commit f832dc8

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.github/workflows/pre_commit.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,10 @@ jobs:
2323
uses: actions/setup-python@v5
2424
with:
2525
python-version: "3.10"
26+
- name: Set up Node.js
27+
uses: actions/setup-node@v4
28+
with:
29+
node-version: 22
2630
- name: Install dependencies
2731
run: pip install 'model_api/python/.[full]'
2832
- name: Run pre-commit checks

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
default_language_version:
2-
node: 18.15.0
2+
node: 22.10.0
33

44
repos:
55
- repo: https://github.com/pre-commit/pre-commit-hooks

0 commit comments

Comments
 (0)