Skip to content

Commit e93760d

Browse files
committed
chore: use lts node in CI
CI used node 18 which is ancient and doesn't support APIs required by some build dependencies.
1 parent d95ef5d commit e93760d

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/actions/setup-node/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ runs:
66
- name: Setup Node
77
uses: actions/setup-node@v6
88
with:
9-
node-version: 18
9+
node-version: lts/*
1010
- name: Detect Yarn cache dir
1111
id: yarn-cache-dir-path
1212
shell: bash

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
- name: Setup Node
2424
uses: actions/setup-node@v4
2525
with:
26-
node-version: 18
26+
node-version: lts/*
2727

2828
- name: Detect Yarn cache dir
2929
id: yarn-cache-dir-path

0 commit comments

Comments
 (0)