From 5407a497dfd0031a7188d13c8bb03df859b6df0b Mon Sep 17 00:00:00 2001 From: David Justice Date: Thu, 7 May 2026 14:12:24 -0400 Subject: [PATCH] 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 #7). This sets Node 22 explicitly in the workflow and adds a .node-version file for local development consistency. Closes #9 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Signed-off-by: David Justice --- .github/workflows/deploy.yml | 2 ++ .node-version | 1 + 2 files changed, 3 insertions(+) create mode 100644 .node-version diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index f122379..e707ff0 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -24,6 +24,8 @@ jobs: - name: Build with Astro uses: withastro/action@v3 + with: + node-version: 22 deploy: name: Deploy diff --git a/.node-version b/.node-version new file mode 100644 index 0000000..2bd5a0a --- /dev/null +++ b/.node-version @@ -0,0 +1 @@ +22