Skip to content

Commit

Permalink
defualts added to workflow, not action
Browse files Browse the repository at this point in the history
  • Loading branch information
zMynxx committed Aug 18, 2023
1 parent 10539b4 commit 744d35f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/actions/nodejs/npm-test/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,13 @@ runs:
- name: Install Dependencies
if: ${{ steps.cache-npm.outputs.cache-hit != 'true' }}
shell: bash
run: npm install ${{ inputs.force_install_dependencies && '--force' || '' }}
working-directory: ${{ inputs.package_json_path }}
run: npm install ${{ inputs.force_install_dependencies == true && '--force' || '' }}

- name: Run tests
id: test
shell: bash
working-directory: ${{ inputs.package_json_path }}
run: |
${{ inputs.test_command }}
echo "test_result=${{ job.status }}" >> $GITHUB_OUTPUT

0 comments on commit 744d35f

Please sign in to comment.