File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change 8282 echo "SKIP_AUDIT=$([ "${{ inputs.audit-skip }}" = "true" ] || [ "${{ inputs.skip-audit }}" = "true" ] && echo "true" || echo "false")" >> $GITHUB_ENV
8383 echo "SKIP_TEST=$([ "${{ inputs.test-skip }}" = "true" ] || [ "${{ inputs.skip-test }}" = "true" ] && echo "true" || echo "false")" >> $GITHUB_ENV
8484 echo "SKIP_BUILD=$([ "${{ inputs.build-skip }}" = "true" ] || [ "${{ inputs.skip-build }}" = "true" ] && echo "true" || echo "false")" >> $GITHUB_ENV
85- # If cache-node-modules is true and install-command is still the default, set install-command to check for node_modules
85+ # If cache-node-modules is true and install-command is still the default, set install-command to skip npm ci if node_modules exists
8686 if [ "${{ inputs.cache-node-modules }}" = "true" ] && [ "${{ inputs.install-command }}" = "npm ci" ]; then
8787 echo 'INSTALL_COMMAND=if [ -d "node_modules" ]; then echo "Using cached node_modules"; else npm ci; fi' >> $GITHUB_ENV
8888 else
You can’t perform that action at this time.
0 commit comments