Skip to content

Commit 61be853

Browse files
committed
fix: add bun to actions
1 parent 17738d5 commit 61be853

File tree

2 files changed

+6
-7836
lines changed

2 files changed

+6
-7836
lines changed

.github/workflows/laravel.yml

+6-2
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,17 @@ jobs:
1414
- uses: shivammathur/setup-php@15c43e89cdef867065b0213be354c2841860869e
1515
with:
1616
php-version: '8.2'
17-
- uses: actions/checkout@v3
17+
- uses: actions/checkout@v4
1818
- name: Copy .env
1919
run: php -r "file_exists('.env') || copy('.env.example', '.env');"
2020
- name: Install Dependencies
2121
run: composer update -q --no-ansi --no-interaction --no-scripts --no-progress --prefer-dist
22+
- name: Install Bun
23+
run: |
24+
curl -fsSL https://bun.sh/install | bash
25+
echo "$HOME/.bun/bin" >> $GITHUB_PATH
2226
- name: Install Node Dependencies
23-
run: npm i --legacy-peer-deps && npm run build
27+
run: bun i && bun run build
2428
- name: Generate key
2529
run: php artisan key:generate
2630
- name: Directory Permissions

0 commit comments

Comments
 (0)