Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/antongolub/demo-action-setup-bun
Testing repo to verify `action-setup-bun` work
https://github.com/antongolub/demo-action-setup-bun
actions bun github
Last synced: 17 days ago
JSON representation
Testing repo to verify `action-setup-bun` work
- Host: GitHub
- URL: https://github.com/antongolub/demo-action-setup-bun
- Owner: antongolub
- License: mit
- Created: 2022-07-10T22:15:13.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2022-07-12T09:51:12.000Z (over 2 years ago)
- Last Synced: 2024-10-06T08:36:08.917Z (about 1 month ago)
- Topics: actions, bun, github
- Language: JavaScript
- Homepage:
- Size: 8.79 KB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# demo-action-setup-bun
> Testing repo to verify [action-setup-bun](https://github.com/antongolub/action-setup-bun) work## CI
```yaml
name: CI
on: [push, pull_request]
jobs:
first:
name: First job
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v3- name: Setup Bun Runtime (1)
uses: antongolub/action-setup-bun@v1
with:
cache: true
bun-config: '{"install": {"production": true}}'- name: Install deps (cache warmup)
run: bun install- name: Run script (1)
run: bun index.js# https://github.com/actions/toolkit/issues/58
- name: Setup Bun Runtime (2) again
uses: antongolub/action-setup-bun@v1
with:
cache: true
bun-config: '{}'- name: Install deps (2)
run: bun install- name: Run script (2)
run: bun index.jssecond:
name: Second job
needs: first
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v3- name: Setup Bun Runtime
uses: antongolub/action-setup-bun@v1
with:
cache: true- name: Install deps (from cache)
run: bun install- name: Run script
run: |
bun index.js
bun index.ts
```## License
[MIT](LICENSE)