Skip to content

Commit

Permalink
chore: fix nightly node loading logic (#3615)
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesHenry committed Mar 24, 2023
1 parent cd7ad21 commit 3bd423a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/actions/install-node-and-dependencies/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ runs:
- name: Install node and npm based on the given values (or the volta config in package.json)
uses: actions/setup-node@v3
with:
node-version-file: "package.json"
node-version-file: ${{ inputs.node-version == '' && 'package.json' || '' }}
node-version: ${{ inputs.node-version }}
# The volta action seems to failing to install/unpack a lot recently https://github.com/volta-cli/action/issues/77#issuecomment-1481045178
# uses: volta-cli/action@v4
# with:
Expand Down

0 comments on commit 3bd423a

Please sign in to comment.