1
0

action.yml 767 B

123456789101112131415161718192021222324252627
  1. # From https://github.com/remirror/template/blob/4f8c5f5629a081217672a8cce1df085510f43913/.github/actions/pnpm/action.yml
  2. name: 'pnpm installation'
  3. description: 'Install and audit dependencies for pnpm'
  4. inputs:
  5. cache: # id of input
  6. description: 'The location of the pnpm cache'
  7. required: true
  8. default: '.pnpm-store'
  9. version: # id of input
  10. description: 'The version to use'
  11. required: false
  12. default: 6.10.0
  13. runs:
  14. using: 'composite'
  15. steps:
  16. - name: install pnpm
  17. run: npm install pnpm@${{ inputs.version }} -g
  18. shell: bash
  19. - name: setup pnpm config
  20. run: pnpm config set store-dir ${{ inputs.cache }}
  21. shell: bash
  22. - name: install dependencies
  23. run: pnpm install --shamefully-hoist
  24. shell: bash