Skip to content

Commit e4e2ef1

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

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/actions/setup/action.yml

Lines changed: 6 additions & 4 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:
@@ -15,9 +15,11 @@ runs:
1515
- name: Setup Node.js
1616
uses: actions/setup-node@v4
1717
with:
18-
cache: 'npm'
1918
node-version: ${{ inputs.node-version }}
2019

20+
- name: Setup Bun
21+
uses: oven-sh/setup-bun@v2
22+
2123
- name: Setup turbo
2224
uses: actions/cache@v4
2325
with:
@@ -28,8 +30,8 @@ runs:
2830
2931
- name: Install global dependencies
3032
shell: bash
31-
run: npm i -g turbo prettier typescript @changesets/cli @arethetypeswrong/cli
33+
run: bun i -g turbo prettier typescript @changesets/cli @arethetypeswrong/cli
3234

3335
- name: Install dependencies
3436
shell: bash
35-
run: npm ci
37+
run: bun ci

0 commit comments

Comments
 (0)