Skip to content

Commit 6d76b41

Browse files
committed
Actually run CI on the right versions of Node
1 parent e0a1423 commit 6d76b41

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.github/workflows/actions/install-dependencies/action.yml

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
name: Install Dependencies
22
description: Sets up Node and its package manager, then installs all dependencies
33

4+
inputs:
5+
version:
6+
type: string
7+
48
runs:
59
using: composite
610
steps:
@@ -12,7 +16,7 @@ runs:
1216
- name: Setup Node
1317
uses: actions/setup-node@v4
1418
with:
15-
node-version: 18
19+
node-version: ${{ inputs.version || 'lts/*' }}
1620
cache: 'pnpm'
1721

1822
- name: Install dependencies

.github/workflows/pull-requests.yml

+2
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ jobs:
3636

3737
- name: Install Dependencies
3838
uses: ./.github/workflows/actions/install-dependencies
39+
with:
40+
version: $${{ matrix.node }}
3941

4042
- name: Setup Solana Test Validator
4143
id: start-test-validator

0 commit comments

Comments
 (0)