Skip to content

Commit

Permalink
feat: support packageManager in package.json (#27)
Browse files Browse the repository at this point in the history
  • Loading branch information
danadajian committed Oct 25, 2023
1 parent bd26ebd commit 6be8746
Show file tree
Hide file tree
Showing 5 changed files with 181 additions and 128 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,21 @@ jobs:
name: Verify Bun
run: |
bun --version
setup-bun-from-package-json-version:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os:
- ubuntu-latest
- macos-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup package.json
run: |
echo "$(jq '. += {"packageManager": "bun@1.0.0"}' package.json)" > package.json
- name: Setup Bun
uses: ./
- name: Verify Bun
run: |
bun --version
Binary file modified bun.lockb
Binary file not shown.
Loading

0 comments on commit 6be8746

Please sign in to comment.