Skip to content

Commit 2f66ee3

Browse files
committed
fix: update node-version input to be optional with default value
1 parent 187b6a7 commit 2f66ee3

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/subgraph-ci.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,9 @@ on:
1010
inputs:
1111
node-version:
1212
description: Node.js version to use
13-
required: true
13+
required: false
1414
type: number
15+
default: 20
1516

1617
concurrency:
1718
group: ${{ github.ref }}-subgraph-ci
@@ -27,7 +28,7 @@ jobs:
2728

2829
- uses: actions/setup-node@v4
2930
with:
30-
node-version: ${{ inputs.node-version }} # default is 20
31+
node-version: ${{ inputs.node-version }}
3132
cache: 'npm'
3233
cache-dependency-path: 'packages/subgraph'
3334

0 commit comments

Comments
 (0)