Skip to content

Commit f6f9809

Browse files
committed
fix(ci): use bun in setup action and remove nitrogen steps
Updated setup action to use oven-sh/setup-bun and removed bun run nitrogen steps from CI workflow.
1 parent aaf52e6 commit f6f9809

File tree

2 files changed

+6
-10
lines changed

2 files changed

+6
-10
lines changed

.github/actions/setup/action.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,12 @@ description: Sets up Node.js and Yarn
44
runs:
55
using: "composite"
66
steps:
7-
- name: Setup Node.js
8-
uses: actions/setup-node@v4
7+
- name: Setup Bun
8+
uses: oven-sh/setup-bun@v2
99
with:
10-
node-version: 20
11-
cache: 'yarn'
12-
cache-dependency-path: react-native-libprisma/yarn.lock
10+
bun-version: 1.3.0
1311

1412
- name: Install dependencies
1513
shell: bash
1614
working-directory: react-native-libprisma
17-
run: yarn install --frozen-lockfile
15+
run: bun install --frozen-lockfile

.github/workflows/ci.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,7 @@ jobs:
7676
- name: Setup
7777
uses: ./.github/actions/setup
7878

79-
- name: Generate nitrogen code
80-
run: bun run nitrogen
79+
8180

8281
- name: Cache turborepo for Android
8382
uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
@@ -140,8 +139,7 @@ jobs:
140139
- name: Setup
141140
uses: ./.github/actions/setup
142141

143-
- name: Generate nitrogen code
144-
run: bun run nitrogen
142+
145143

146144
- name: Cache turborepo for iOS
147145
uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3

0 commit comments

Comments
 (0)