Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bundle node #58

Merged
merged 1 commit into from
Jun 13, 2024
Merged

Bundle node #58

merged 1 commit into from
Jun 13, 2024

Conversation

Brocco
Copy link
Contributor

@Brocco Brocco commented Jun 5, 2024

No description provided.

@Brocco Brocco force-pushed the bundle-node branch 4 times, most recently from 00a3266 to 84fec13 Compare June 6, 2024 16:38
@Brocco Brocco marked this pull request as ready for review June 6, 2024 19:35
steps:
- uses: actions/setup-node@v4
with:
node-version: '22.x'
Copy link
Contributor

Choose a reason for hiding this comment

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

is there a specific reason for Node 22? or we can set to latest

'Content-Type': 'application/json',
},
};
const request = https.get(url, options, (response) => {
Copy link
Contributor

Choose a reason for hiding this comment

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

can we use fetch instead of https.get?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I was concerned about using fetch because this needs to run in node v14+ and IIRC fetch was added after 14

Copy link
Contributor

Choose a reason for hiding this comment

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

yes thats what I thought too, just wanted to confirm, fetch has been marked stable from 18

Copy link

@JessicaSachs JessicaSachs left a comment

Choose a reason for hiding this comment

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

Mini nit

apps/cli/src/lib/ensure-version.ts Outdated Show resolved Hide resolved
@Brocco Brocco merged commit 541447e into herodevs:main Jun 13, 2024
8 checks passed
@Brocco Brocco deleted the bundle-node branch June 13, 2024 16:04
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