Skip to content

Commit

Permalink
feat(workflows): use bun instead of yarn
Browse files Browse the repository at this point in the history
With `use-bun: true` option when using _linter.yml_ we will
use bun over yarn for installation.

NOTE: `install-all` still relies on yarn.
  • Loading branch information
weiland committed Jul 2, 2024
1 parent 0ace238 commit fba9deb
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -158,14 +158,19 @@ jobs:
bun-version: latest

- name: 📦 Enable Corepack
if: inputs.use-bun != true
run: corepack enable

- name: 🛠 Use Bun (if `use-bun`)
if: inputs.use-bun == true
run: bun install

- name: 📦 Install Dependencies (if `install:all`)
if: inputs.install-all == true
run: yarn -v && yarn && yarn install:all

- name: 📦 Install Dependencies (if `install`)
if: inputs.install-all != true
if: inputs.install-all != true && inputs.use-bun != true
run: yarn install

- name: 🔑 Generate dummy keys
Expand Down

0 comments on commit fba9deb

Please sign in to comment.