Skip to content

Conversation

@cwaldren-ld
Copy link
Contributor

@cwaldren-ld cwaldren-ld commented Dec 3, 2024

This is a temporary measure to restore CI builds for the JS API. It appears that the release related to microsoft/TypeScript#60019 surfaced an issue in the way we're importing JSON files into the SDK. Despite it being a minor release, it was a breaking change for us.

But, I can't actually seem to fix it at the moment. Hopefully a subsequent release will allow us to do so. I'm not 100% following the conversation but it looks like a fix will be cherrypicked to Typescript 5.7: microsoft/TypeScript#60673

@cwaldren-ld cwaldren-ld changed the title ci: pin node to 20.18.0 ci: pin typescript dependency Dec 4, 2024
shell: bash
run: |
cd api-js && npm install && npx publint
cd api-js && npm install && npx publint && npx --yes @arethetypeswrong/cli --pack .
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also adding another linting step that checks a bunch of Typescript typing stuff.

@cwaldren-ld cwaldren-ld marked this pull request as ready for review December 4, 2024 17:56
@cwaldren-ld cwaldren-ld requested a review from a team as a code owner December 4, 2024 17:56
@cwaldren-ld cwaldren-ld changed the title ci: pin typescript dependency ci: pin typescript dependency to 5.6.3 Dec 4, 2024
@cwaldren-ld cwaldren-ld merged commit c816604 into main Dec 4, 2024
6 checks passed
@cwaldren-ld cwaldren-ld deleted the cw/pin-node-20.18.0 branch December 4, 2024 18:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants