We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e0a1423 commit 6d76b41Copy full SHA for 6d76b41
.github/workflows/actions/install-dependencies/action.yml
@@ -1,6 +1,10 @@
1
name: Install Dependencies
2
description: Sets up Node and its package manager, then installs all dependencies
3
4
+inputs:
5
+ version:
6
+ type: string
7
+
8
runs:
9
using: composite
10
steps:
@@ -12,7 +16,7 @@ runs:
12
16
- name: Setup Node
13
17
uses: actions/setup-node@v4
14
18
with:
15
- node-version: 18
19
+ node-version: ${{ inputs.version || 'lts/*' }}
20
cache: 'pnpm'
21
22
- name: Install dependencies
.github/workflows/pull-requests.yml
@@ -36,6 +36,8 @@ jobs:
36
37
- name: Install Dependencies
38
uses: ./.github/workflows/actions/install-dependencies
39
+ with:
40
+ version: $${{ matrix.node }}
41
42
- name: Setup Solana Test Validator
43
id: start-test-validator
0 commit comments