Update dependency vue to v3.3.8 #378
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: lara | |
on: | |
push: | |
branches: [ "master", "develop" ] | |
pull_request: | |
branches: [ "master", "develop" ] | |
env: | |
# renovate: datasource=github-tags depName=nodejs/node versioning=node | |
NODE_VERSION: 20 | |
MARIADB_PASSWORD: lara | |
jobs: | |
laravel-tests: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: shivammathur/setup-php@26e6a92f3ba31edeb930addd24d770787508f940 | |
with: | |
php-version: '8.0' | |
- name: setup database | |
uses: shogo82148/actions-setup-mysql@3226d3e8a0600be87669e55a818e9ab7bf6f7476 # v1.26.0 | |
with: | |
distribution: 'mariadb' | |
mysql-version: '10.9' | |
root-password: ${{env.MARIADB_PASSWORD}} | |
- run: mysql -uroot -p${{env.MARIADB_PASSWORD}} -h127.0.0.1 -e 'create database lara' | |
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 | |
- 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: Setup Node | |
uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v4 | |
with: | |
node-version: ${{env.NODE_VERSION}} | |
- name: Cache dependencies | |
uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 # v3 | |
with: | |
path: ~/.npm | |
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} | |
restore-keys: | | |
${{ runner.os }}-node- | |
- name: Build npm | |
run: npm install && npm run prod | |
- name: Generate key | |
run: php artisan key:generate | |
- name: Directory Permissions | |
run: chmod -R 777 storage bootstrap/cache | |
- name: Execute tests (Unit and Feature tests) via PHPUnit | |
env: | |
DB_CONNECTION: mysql | |
DB_HOST: 127.0.0.1 | |
DB_PORT: 3306 | |
DB_DATABASE: lara | |
DB_USERNAME: root | |
DB_PASSWORD: ${{env.MARIADB_PASSWORD}} | |
run: | | |
npm install | |
php artisan migrate:fresh --seed | |
php artisan test |