Skip to content

Commit eca7ef6

Browse files
committed
fix: node version
1 parent 240f91b commit eca7ef6

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

.github/actions/setup/action.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,6 @@
11
name: Setup
22
description: Setup the environment
33

4-
inputs:
5-
node-version:
6-
description: The version of node.js
7-
required: false
8-
default: '20'
9-
104
runs:
115
using: composite
126
steps:
@@ -17,7 +11,7 @@ runs:
1711
- name: Setup node
1812
uses: actions/setup-node@v5
1913
with:
20-
node-version: ${{ inputs.node-version }}
14+
node-version-file: '.nvmrc'
2115
cache: pnpm
2216
registry-url: 'https://registry.npmjs.org'
2317

0 commit comments

Comments
 (0)