Skip to content
This repository was archived by the owner on Nov 19, 2025. It is now read-only.

Commit 2c212ca

Browse files
Copilotkentcdodds
andcommitted
Update node-version to use LTS aliases for future-proofing
Co-authored-by: kentcdodds <1500684+kentcdodds@users.noreply.github.com>
1 parent 13c7f08 commit 2c212ca

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/auto-format.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
- name: Setup Node.js
2929
uses: actions/setup-node@v6
3030
with:
31-
node-version: 24
31+
node-version: lts/*
3232
cache: 'npm'
3333

3434
- name: Cache node_modules

.github/workflows/validate.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
runs-on: ubuntu-latest
1717
strategy:
1818
matrix:
19-
node-version: [22, 24]
19+
node-version: [lts/-1, lts/*, latest]
2020

2121
steps:
2222
- name: 📥 Checkout
@@ -62,7 +62,7 @@ jobs:
6262
strategy:
6363
matrix:
6464
os: [ubuntu-latest, windows-latest]
65-
node-version: [24]
65+
node-version: [lts/-1, lts/*, latest]
6666

6767
steps:
6868
- name: 📥 Checkout
@@ -115,7 +115,7 @@ jobs:
115115
with:
116116
path: |
117117
dist/
118-
key: build-24-${{ github.sha }}
118+
key: build-lts/*-${{ github.sha }}
119119
fail-on-cache-miss: false
120120

121121
- name: 🚀 Release

0 commit comments

Comments
 (0)