Skip to content

Commit 1b82de0

Browse files
committed
Update github action for this project
1 parent 923c7ee commit 1b82de0

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

action.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ name: Pydantic to Typescript
22
description: |
33
Convert pydantic models into typescript definitions and ensure that your type definitions are in sync.
44
author: Phillip Dupuis
5-
65
inputs:
76
python-module:
87
required: true
@@ -44,17 +43,17 @@ runs:
4443
using: composite
4544
steps:
4645
- name: Set up Python
47-
uses: actions/setup-python@v4
46+
uses: actions/setup-python@v5
4847
with:
49-
python-version: ">=3.6 <=3.10"
48+
python-version: "3.x"
5049
- name: Install pydantic-to-typescript
5150
shell: bash
5251
run: |
5352
python -m pip install -U pip wheel pydantic-to-typescript
54-
- name: Set up Node.js 16
55-
uses: actions/setup-node@v3
53+
- name: Set up Node.js 20
54+
uses: actions/setup-node@v4
5655
with:
57-
node-version: 16
56+
node-version: 20
5857
- name: Install json-schema-to-typescript
5958
shell: bash
6059
run: |

0 commit comments

Comments
 (0)