Skip to content

Update dependency @vue/compiler-sfc to v3.5.12 #118

Update dependency @vue/compiler-sfc to v3.5.12

Update dependency @vue/compiler-sfc to v3.5.12 #118

# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
name: Node.js and PHP Composer Lint Test and Build CI
on:
push:
branches: ['master']
pull_request:
branches: ['master']
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout πŸ›ŽοΈ
uses: actions/checkout@v3
- name: Validate composer.json and composer.lock πŸ’₯
run: composer validate --strict
- name: Lint (Laravel Pint) -> https://laravel.com/docs πŸš€
run: composer install:tools && composer lint:check
- name: Cache Composer packages πŸ“¦
id: composer-cache
uses: actions/cache@v3
with:
path: vendor
key: ${{ runner.os }}-php-${{ hashFiles('**/composer.lock') }}
restore-keys: |
${{ runner.os }}-php-
- name: Composer Install πŸ–₯️
run: |
composer config "http-basic.nova.laravel.com" "${{ secrets.NOVA_USERNAME }}" "${{ secrets.NOVA_FOUR_PASSWORD }}"
composer install --no-interaction --no-progress --prefer-dist --optimize-autoloader
# Add a test script to composer.json, for instance: "test": "vendor/bin/phpunit"
# Docs: https://getcomposer.org/doc/articles/scripts.md
# - name: Run test suite
# run: composer run-script test
- name: Setup Node.js πŸ–₯️
uses: actions/setup-node@v3
with:
node-version-file: '.nvmrc'
cache: 'yarn'
- name: Install dependencies πŸ“¦
run: yarn install
- name: Check code with prettier πŸ›
run: yarn format:check
- name: Check code with eslint 🚨
uses: reviewdog/action-eslint@v1
with:
fail_on_error: true
- name: Install Nova Dependencies πŸ“¦
run: yarn nova:install
- name: Build for production πŸ—οΈ
run: yarn prod