Skip to content

Commit

Permalink
🐛 [#1] Support working-directory param in setup-node action
Browse files Browse the repository at this point in the history
  • Loading branch information
SilviaAmAm committed Aug 22, 2023
1 parent 55b5254 commit 070f283
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ runs:
- uses: actions/setup-node@v3
if: ${{ inputs.setup-node == 'yes' }}
with:
node-version-file: '.nvmrc'
node-version-file: ${{ inputs.working-dir && join([inputs.working_dir, '.nvmrc'], '/') || '.nvmrc' }}

- name: Build frontend
if: ${{ inputs.setup-node == 'yes' }}
Expand Down

0 comments on commit 070f283

Please sign in to comment.