Skip to content

Commit

Permalink
Updated Bun version reference in GitHub actions (#224)
Browse files Browse the repository at this point in the history
The Bun version reference has been updated across multiple GitHub action workflows. Instead of hardcoding the version number, we now refer to it from the package.json file. This change will make maintaining and updating the Bun version more manageable and less error-prone.
  • Loading branch information
UnstoppableMango authored Jun 25, 2024
1 parent 78efb76 commit 236e347
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/actions/build-bun/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ runs:
- name: Setup Bun
uses: oven-sh/setup-bun@v2
with:
bun-version: 1.1.17
bun-version-file: package.json

- name: Restore dependencies
shell: bash
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
- name: Setup Bun
uses: oven-sh/setup-bun@v2
with:
bun-version: 1.1.17
bun-version-file: package.json

- run: bun install --frozen-lockfile

Expand All @@ -45,7 +45,7 @@ jobs:
- name: Setup Bun
uses: oven-sh/setup-bun@v2
with:
bun-version: 1.1.17
bun-version-file: package.json

- run: bun install --frozen-lockfile
- run: bun lint:md
2 changes: 1 addition & 1 deletion .github/workflows/cli-um.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
- name: Setup Bun
uses: oven-sh/setup-bun@v2
with:
bun-version: 1.1.17
bun-version-file: package.json

- name: Bun install
run: bun install --frozen-lockfile
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
- name: Setup Bun
uses: oven-sh/setup-bun@v2
with:
bun-version: 1.1.17
bun-version-file: package.json

- name: Restore dependencies
working-directory: packages/${{ matrix.tool }}
Expand Down

0 comments on commit 236e347

Please sign in to comment.