Skip to content

Commit 7ad62f4

Browse files
committed
chore: Install maintenance tools for publish_schema
1 parent 545d4d2 commit 7ad62f4

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/publish_schema.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,13 @@ jobs:
5656
git checkout -t origin/$JSR_BRANCH
5757
env:
5858
JSR_BRANCH: ${{ steps.branch.outputs.branch }}
59+
- name: Install npm tools
60+
run: npm install
61+
- name: Verify installed versions
62+
run: |
63+
npx quicktype --version
64+
npx json2ts --help | head -n2
65+
npx jsr --version
5966
- name: Regenerate schema
6067
run: bst export > schema.json
6168
- name: Regenerate context types
@@ -67,7 +74,7 @@ jobs:
6774
run: |
6875
# Name the file schema so the type will be named Schema
6976
bst export-metaschema > /tmp/schema.json
70-
npx --package=json-schema-to-typescript json2ts --unknownAny /tmp/schema.json > metaschema.ts
77+
npx json2ts --unknownAny /tmp/schema.json > metaschema.ts
7178
- name: Determine next version
7279
id: version
7380
run: |

0 commit comments

Comments
 (0)