From 191599deb611be40e98ba88d6015f7a4a0655304 Mon Sep 17 00:00:00 2001 From: Tim Talbert Date: Fri, 17 Feb 2023 17:21:50 -0500 Subject: [PATCH] Don't use the npm bin command to resolve the bin path --- action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action.yml b/action.yml index c709804..dc1e231 100644 --- a/action.yml +++ b/action.yml @@ -61,7 +61,7 @@ runs: - name: Prettify code! shell: bash run: >- - PATH=$(cd $GITHUB_ACTION_PATH; npm bin):$PATH + PATH=$GITHUB_ACTION_PATH/node_modules/.bin:$PATH ${{ github.action_path }}/entrypoint.sh env: INPUT_COMMIT_MESSAGE: ${{ inputs.commit_message }}