action.yml 503 B

1234567891011121314151617181920
  1. name: "Setup Bun"
  2. description: "Setup Bun with caching and install dependencies"
  3. runs:
  4. using: "composite"
  5. steps:
  6. - name: Mount Bun Cache
  7. if: ${{ runner.os == 'Linux' }}
  8. uses: useblacksmith/stickydisk@v1
  9. with:
  10. key: ${{ github.repository }}-bun-cache-${{ runner.os }}
  11. path: ~/.bun
  12. - name: Setup Bun
  13. uses: oven-sh/setup-bun@v2
  14. with:
  15. bun-version-file: package.json
  16. - name: Install dependencies
  17. run: bun install
  18. shell: bash