File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Load diff This file was deleted.
Original file line number Diff line number Diff line change 6363| name | description |
6464| --- | --- |
6565| `cache-hit` | <p>Whether the cache was hit when installing dependencies</p> |
66- | `package-manager` | <p>The package manager used to install dependencies</p> |
66+ | `package-manager` | <p>The package manager used to install dependencies. Falls back to NPM by default. </p> |
6767<!-- action-docs-outputs source="action.yaml" -->
6868<!-- action-docs-runs source="action.yaml" -->
6969# # Runs
Original file line number Diff line number Diff line change @@ -26,8 +26,8 @@ outputs:
2626 description : Whether the cache was hit when installing dependencies
2727 value : ${{ steps.read_cache.outputs.cache-hit }}
2828 package-manager :
29- description : The package manager used to install dependencies
30- value : ${{ steps.check_bun_lock.outputs.files_exists == 'true' && 'bun' || (steps.check_pnpm_lock.outputs.files_exists == 'true' && 'pnpm' || (steps.check_yarn_lock.outputs.files_exists == 'true' && 'yarn') || (steps.check_npm_lock.outputs.files_exists == 'true' && ' npm') ) }}
29+ description : The package manager used to install dependencies. Falls back to NPM by default.
30+ value : ${{ steps.check_bun_lock.outputs.files_exists == 'true' && 'bun' || (steps.check_pnpm_lock.outputs.files_exists == 'true' && 'pnpm' || (steps.check_yarn_lock.outputs.files_exists == 'true' && 'yarn') || ' npm') }}
3131runs :
3232 using : composite
3333 steps :
6161 - name : Compute lockfile hash
6262 if : inputs.s3-bucket-name != ''
6363 id : lockfile_hash
64- run : echo "hash=${{ steps.check_bun_lock.outputs.files_exists == 'true' && hashFiles('**/bun.lock') || (steps.check_pnpm_lock.outputs.files_exists == 'true' && hashFiles('**/pnpm-lock.yaml') || (steps.check_yarn_lock.outputs.files_exists == 'true' && hashFiles('**/yarn.lock') || (steps.check_npm_lock.outputs.files_exists == 'true' && hashFiles('**/package-lock.json') ))) }}" >> $GITHUB_OUTPUT
64+ run : echo "hash=${{ steps.check_bun_lock.outputs.files_exists == 'true' && hashFiles('**/bun.lock') || (steps.check_pnpm_lock.outputs.files_exists == 'true' && hashFiles('**/pnpm-lock.yaml') || (steps.check_yarn_lock.outputs.files_exists == 'true' && hashFiles('**/yarn.lock') || hashFiles('**/package-lock.json'))) }}" >> $GITHUB_OUTPUT
6565 shell : bash
6666 - name : Load cached node_modules if available
6767 if : inputs.s3-bucket-name != ''
You can’t perform that action at this time.
0 commit comments