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

chore: set TypeScript version range to >=4.2 #75

Merged
merged 7 commits into from
May 6, 2023

Conversation

JoshuaKGoldberg
Copy link
Owner

@JoshuaKGoldberg JoshuaKGoldberg commented May 4, 2023

PR Checklist

Overview

Sets the minimum tested TypeScript version to 4.2, with a matrix of tests across versions up through 5.0 and latest.

Borrows some GHA configuration from https://github.com/JoshuaKGoldberg/template-typescript-node-package.

@JoshuaKGoldberg JoshuaKGoldberg force-pushed the ts-version-range branch 4 times, most recently from 24c3066 to 3046da3 Compare May 4, 2023 16:45
@JoshuaKGoldberg JoshuaKGoldberg marked this pull request as ready for review May 4, 2023 17:06
Copy link
Collaborator

@danvk danvk left a comment

Choose a reason for hiding this comment

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

.github/actions/prepare/action.yml Outdated Show resolved Hide resolved
name: Format

on:
pull_request: ~
Copy link
Collaborator

Choose a reason for hiding this comment

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

TIL that ~ means null in YAML. Perhaps just write it as null for clarity?

Is this saying that we don't want to run format checks on PR branches? Why would that be?

Copy link
Owner Author

Choose a reason for hiding this comment

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

Heh I went the opposite conclusion in https://github.com/JoshuaKGoldberg/template-typescript-node-package - that it implies "run on all of them", which null feels ... the opposite to me?

It means we run format checks on:

  • All pull request commits
  • Commits to main

@JoshuaKGoldberg JoshuaKGoldberg merged commit 575c5a8 into v0.3.0 May 6, 2023
@JoshuaKGoldberg JoshuaKGoldberg deleted the ts-version-range branch May 6, 2023 18:50
Copy link

🎉 This is included in version v0.3.0 🎉

The release is available on:

Cheers! 📦🚀

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.

2 participants