Don't use the npm bin command to resolve the bin path

This commit is contained in:
Tim Talbert
2023-02-17 17:21:50 -05:00
parent dc62bca389
commit 191599deb6

View File

@@ -61,7 +61,7 @@ runs:
- name: Prettify code! - name: Prettify code!
shell: bash shell: bash
run: >- run: >-
PATH=$(cd $GITHUB_ACTION_PATH; npm bin):$PATH PATH=$GITHUB_ACTION_PATH/node_modules/.bin:$PATH
${{ github.action_path }}/entrypoint.sh ${{ github.action_path }}/entrypoint.sh
env: env:
INPUT_COMMIT_MESSAGE: ${{ inputs.commit_message }} INPUT_COMMIT_MESSAGE: ${{ inputs.commit_message }}