Skip to content

Commit 6dbd299

Browse files
committed
Update workflow to use Bun for dependency management
1 parent 5124893 commit 6dbd299

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

.github/workflows/ci-cd.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -49,16 +49,16 @@ jobs:
4949
tools: composer:v2
5050
coverage: xdebug
5151

52-
- name: Setup NodeJS
53-
uses: actions/setup-node@v6
52+
- name: Setup Bun
53+
uses: oven-sh/setup-bun@v2
5454
with:
55-
node-version: "lts/*"
55+
bun-version: "latest"
5656

5757
- name: Install Node Dependencies
58-
run: npm ci
58+
run: bun install --frozen-lockfile
5959

6060
- name: Install Playwright
61-
run: npx playwright install
61+
run: bunx playwright install
6262

6363
- name: Install Dependencies
6464
run: composer install --no-interaction --prefer-dist --optimize-autoloader
@@ -76,7 +76,7 @@ jobs:
7676
run: php artisan migrate -v
7777

7878
- name: Building Assets
79-
run: npm run build
79+
run: bun run build
8080

8181
- name: Test with Pest
8282
run: php artisan test --ci --parallel
@@ -91,7 +91,7 @@ jobs:
9191
- uses: actions/checkout@v6
9292

9393
- name: Install Vercel CLI
94-
run: npm install --global vercel@latest
94+
run: bun add -g vercel@latest
9595

9696
- name: Pull Vercel Environment Information
9797
run: vercel pull --yes --environment=production --token=${{ env.VERCEL_TOKEN }}

0 commit comments

Comments
 (0)