Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion .github/workflows/laravel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,23 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- uses: shivammathur/setup-php@15c43e89cdef867065b0213be354c2841860869e
with:
php-version: '8.2'
- uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'yarn'
- name: Copy .env
run: php -r "file_exists('.env') || copy('.env.example', '.env');"
- name: Install Dependencies
run: composer install -q --no-ansi --no-interaction --no-scripts --no-progress --prefer-dist
- name: Install NPM Dependencies
run: yarn install --frozen-lockfile
- name: Build Assets
run: yarn build
- name: Generate key
run: php artisan key:generate
- name: Directory Permissions
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
/node_modules
/public/hot
/public/storage
/public/build
/storage/*.key
/vendor
.env
Expand Down
Empty file modified storage/debugbar/.gitignore
100644 → 100755
Empty file.
8 changes: 1 addition & 7 deletions vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,7 @@ export default defineConfig({
}
},
// Enable minification
minify: 'terser',
terserOptions: {
compress: {
drop_console: true, // Remove console.log in production
drop_debugger: true,
}
}
minify: 'esbuild',
},
// Enable CSS optimization
css: {
Expand Down