Skip to content

Commit ada5b8f

Browse files
committed
ci: migrate to bun as package manager
Signed-off-by: Vladislav Polyakov <polrk@ydb.tech>
1 parent 73d5c4f commit ada5b8f

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/actions/setup/action.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: Setup CI
22
description: |
3-
This action sets up Node.js and installs dependencies for the project.
3+
This action sets up Node.js, Bun and installs dependencies for the project.
44
It also configures caching for TurboRepo to speed up the build process.
55
66
inputs:
@@ -18,6 +18,9 @@ runs:
1818
cache: 'npm'
1919
node-version: ${{ inputs.node-version }}
2020

21+
- name: Setup Bun
22+
uses: oven-sh/setup-bun@v2
23+
2124
- name: Setup turbo
2225
uses: actions/cache@v4
2326
with:
@@ -28,8 +31,8 @@ runs:
2831
2932
- name: Install global dependencies
3033
shell: bash
31-
run: npm i -g turbo prettier typescript @changesets/cli @arethetypeswrong/cli
34+
run: bun i -g turbo prettier typescript @changesets/cli @arethetypeswrong/cli
3235

3336
- name: Install dependencies
3437
shell: bash
35-
run: npm ci
38+
run: bun ci

0 commit comments

Comments
 (0)