Skip to content

Commit 5407a49

Browse files
devignedCopilot
andcommitted
fix: update default Node.js version to 22
The withastro/action@v3 defaults to Node 20, which is insufficient for upcoming Astro dependency updates (see PR hyperlight-dev#7). This sets Node 22 explicitly in the workflow and adds a .node-version file for local development consistency. Closes hyperlight-dev#9 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Signed-off-by: David Justice <david@justice.dev>
1 parent 0de44a3 commit 5407a49

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ jobs:
2424

2525
- name: Build with Astro
2626
uses: withastro/action@v3
27+
with:
28+
node-version: 22
2729

2830
deploy:
2931
name: Deploy

.node-version

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
22

0 commit comments

Comments
 (0)