File tree Expand file tree Collapse file tree 2 files changed +11
-2
lines changed
Expand file tree Collapse file tree 2 files changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -26,10 +26,15 @@ jobs:
2626 - name : Checkout repository
2727 uses : actions/checkout@v4
2828
29+ - name : Read Bun version from package.json
30+ id : bun-version
31+ shell : bash
32+ run : echo "version=$(jq -r '.engines.bun' package.json)" >> $GITHUB_OUTPUT
33+
2934 - name : Setup Bun
3035 uses : oven-sh/setup-bun@v1
3136 with :
32- bun-version : 1.3.0
37+ bun-version : ${{ steps.bun-version.outputs.version }}
3338
3439 - name : Install dependencies
3540 run : bun install --frozen-lockfile
Original file line number Diff line number Diff line change @@ -30,10 +30,14 @@ jobs:
3030 with :
3131 fetch-depth : 0
3232
33+ - name : Read Bun version from package.json
34+ id : bun-version
35+ run : echo "version=$(jq -r '.engines.bun' package.json)" >> $GITHUB_OUTPUT
36+
3337 - name : Setup Bun
3438 uses : oven-sh/setup-bun@v1
3539 with :
36- bun-version : 1.3.0
40+ bun-version : ${{ steps.bun-version.outputs.version }}
3741
3842 - name : Install dependencies
3943 run : bun install --frozen-lockfile
You can’t perform that action at this time.
0 commit comments