Skip to content

Commit

Permalink
chore(ci): 🧹 replace node-version input with node-version-file
Browse files Browse the repository at this point in the history
  • Loading branch information
navin-moorthy committed May 19, 2023
1 parent 34a0835 commit ba01841
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions .github/actions/prepare/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,6 @@ name: Prepare

description: Prepares the repo for a typical CI job

inputs:
node-version:
required: false
description: "`node-version` passed to `actions/setup-node`."
default: "18"

runs:
using: composite
steps:
Expand All @@ -16,7 +10,7 @@ runs:
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: ${{ inputs.node-version }}
node-version-file: .nvmrc
cache: yarn

- name: Install dependencies
Expand Down

0 comments on commit ba01841

Please sign in to comment.