Skip to content
This repository has been archived by the owner on Jul 1, 2024. It is now read-only.

Switch to pnpm #508

Merged
merged 2 commits into from
Jun 26, 2024
Merged

Switch to pnpm #508

merged 2 commits into from
Jun 26, 2024

Conversation

jakebailey
Copy link
Member

In prep for moving to dt-tools; this should now be safe now that we bundle before uploading to Azure Functions.

Copy link
Contributor

@sandersn sandersn left a comment

Choose a reason for hiding this comment

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

I think it's ready to go but I have a couple of questions.


- name: Build zip
run: npm run bundle
- name: Check bundle
Copy link
Contributor

Choose a reason for hiding this comment

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

I'm guessing this isn't related to the pnpm check? Seems like we just weren't doing it on deploy before?

Copy link
Member Author

Choose a reason for hiding this comment

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

Yes, correct; an oversight in my last PR to bundle instead of uploading node_modules.

- run: pnpm install
- run: pnpm run build
- run: pnpm test
- run: pnpm run bundle
Copy link
Contributor

Choose a reason for hiding this comment

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

Why do we have to bundle now when we didn't before?

Copy link
Member Author

Choose a reason for hiding this comment

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

This was also an oversight in my last PR; we used to in this check test the compiled code, but that doesn't really matter, we want to verify that the bundle we're going to send to Azure even runs, just as an extra safety check.

@jakebailey jakebailey merged commit 241a44b into DefinitelyTyped:master Jun 26, 2024
3 checks passed
@jakebailey jakebailey deleted the pnpm-again branch June 26, 2024 22:14
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants