Skip to content

Commit 3647337

Browse files
committed
chore(node): track only the major LTS version
1 parent c26f438 commit 3647337

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/update-node.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ jobs:
2424
OLD_VERSION=$(<.nvmrc)
2525
NEW_VERSION=$(curl -sSf https://resolve-node.vercel.app/lts)
2626
NEW_VERSION=${NEW_VERSION#'v'}
27+
NEW_VERSION=${NEW_VERSION%%.*}
2728
UPDATE_TITLE="chore(node): bump from $OLD_VERSION to $NEW_VERSION"
2829
UPDATE_BODY="Bump Node from $OLD_VERSION to $NEW_VERSION."
2930
echo "version=$NEW_VERSION" >> $GITHUB_OUTPUT

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
24.16.0
1+
24

0 commit comments

Comments
 (0)