Skip to content

Commit

Permalink
Always run postinstall script when npm install was skipped (#21)
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kusnierz authored Oct 5, 2023
1 parent b30b162 commit 56e75d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion npm-install/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ runs:
shell: bash

- name: NPM postinstall script
if: inputs.npm-ci-install == 'false' && steps.determine-node-npm-version.outputs.npm-postinstall != '' && steps.cache-node-modules.outputs.cache-hit == 'true'
if: steps.determine-node-npm-version.outputs.npm-postinstall != '' && steps.cache-node-modules.outputs.cache-hit == 'true'
run: npm run postinstall
shell: bash

Expand Down

0 comments on commit 56e75d5

Please sign in to comment.