Skip to content

Commit

Permalink
Merge pull request #19 from laracasts/laravel-nova
Browse files Browse the repository at this point in the history
wip
  • Loading branch information
lukeraymonddowning authored Sep 25, 2024
2 parents f44ec8d + 1edeed4 commit 1816cc2
Show file tree
Hide file tree
Showing 89 changed files with 1,734 additions and 399 deletions.
13 changes: 13 additions & 0 deletions .github/actions/setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,12 @@ inputs:
description: The PHP extensions you want to install.
required: false
default: dom, curl, libxml, mbstring, zip, pcntl, pdo, gd, redis, igbinary, msgpack, lzf, zstd, lz4, memcached, gmp, :php-psr
nova-email:
description: The email used to authenticate Nova.
required: true
nova-password:
description: The password used to authenticate Nova.
required: true

runs:
using: composite
Expand Down Expand Up @@ -54,3 +60,10 @@ runs:
key: composer-cache-${{ hashFiles('**/composer.lock') }}
path: ${{ steps.composer-cache-dir.outputs.dir }}
restore-keys: composer-cache-

- name: Authenticate Nova
env:
NOVA_EMAIL: ${{ inputs.nova-email }}
NOVA_PASSWORD: ${{ inputs.nova-password }}
run: composer config http-basic.nova.laravel.com "$NOVA_EMAIL" "$NOVA_PASSWORD"
shell: bash
2 changes: 2 additions & 0 deletions .github/workflows/laravel-pint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ jobs:
with:
php-version: '8.3'
php-extensions: 'json, dom, curl, libxml, mbstring'
nova-email: ${{ secrets.NOVA_EMAIL }}
nova-password: ${{ secrets.NOVA_PASSWORD }}

- name: Install Laravel Pint
run: composer global require laravel/pint
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ jobs:
uses: ./.github/actions/setup
with:
php-version: '8.3'
nova-email: ${{ secrets.NOVA_EMAIL }}
nova-password: ${{ secrets.NOVA_PASSWORD }}

- name: Install Project Dependencies
run: composer install -q --no-interaction --no-progress
Expand Down
13 changes: 10 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,13 @@
"license": "MIT",
"require": {
"php": "^8.2",
"ext-redis": "*",
"laravel/framework": "^11.9",
"laravel/jetstream": "^5.1",
"laravel/nova": "4.34.3",
"laravel/sanctum": "^4.0",
"laravel/tinker": "^2.9",
"livewire/livewire": "^3.0",
"ext-redis": "*"
"livewire/livewire": "^3.0"
},
"require-dev": {
"fakerphp/faker": "^1.23",
Expand Down Expand Up @@ -66,5 +67,11 @@
}
},
"minimum-stability": "stable",
"prefer-stable": true
"prefer-stable": true,
"repositories": [
{
"type": "composer",
"url": "https://nova.laravel.com"
}
]
}
Loading

0 comments on commit 1816cc2

Please sign in to comment.