Skip to content

Commit 3147d81

Browse files
committed
chore(deps): migrate from npm to bun for package management
- Update CI workflow to use Bun for installation and build - Replace all npm scripts with bun equivalents in package.json - Update version to 4.0.2 - Add react-native-worklets-core dependency to react-native template - Add bun.lock file for dependency management
1 parent 7e1e374 commit 3147d81

File tree

4 files changed

+1936
-25
lines changed

4 files changed

+1936
-25
lines changed

.github/workflows/ci-release.yml

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,16 @@ jobs:
2222
node-version: '22'
2323
cache: 'npm'
2424

25+
- name: Setup Bun
26+
uses: oven-sh/setup-bun@v2
27+
with:
28+
bun-version: 'latest'
29+
2530
- name: Install dependencies
26-
run: npm install
31+
run: bun install
2732

2833
- name: Build project
29-
run: npm run build
34+
run: bun run build
3035

3136
- name: Upload build artifact
3237
uses: actions/upload-artifact@v4
@@ -48,9 +53,9 @@ jobs:
4853
cache: 'npm'
4954

5055
- name: Install dependencies
51-
run: npm install
56+
run: bun install
5257

53-
- run: npm test
58+
- run: bun run test
5459

5560
publish:
5661
runs-on: ubuntu-latest
@@ -72,7 +77,7 @@ jobs:
7277
registry-url: 'https://registry.npmjs.org/'
7378

7479
- name: Install dependencies
75-
run: npm install
80+
run: bun install
7681

7782
- name: Download build artifact
7883
uses: actions/download-artifact@v4

0 commit comments

Comments
 (0)