Skip to content

Commit 4a803a7

Browse files
committed
fix: node version conflict in workflow
1 parent c62db3b commit 4a803a7

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

‎.github/workflows/deploy-production.yml‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,9 @@ jobs:
2727
- name: Setup Node
2828
uses: actions/setup-node@v4
2929
with:
30-
node-version-file: '.nvmrc'
30+
# Pinned instead of using .nvmrc (Node 18): lint-staged >=16 requires
31+
# Node >=20.17, and this also matches the nodejs20.x Lambda runtime below.
32+
node-version: '20'
3133
cache: 'yarn'
3234

3335
- name: Install dependencies

0 commit comments

Comments
 (0)