Skip to content

chore(deps-dev): bump spatie/laravel-ray from 1.31.0 to 1.32.5 #1881

chore(deps-dev): bump spatie/laravel-ray from 1.31.0 to 1.32.5

chore(deps-dev): bump spatie/laravel-ray from 1.31.0 to 1.32.5 #1881

Workflow file for this run

name: Lint JS and CSS assets
on:
push:
branches: [dev, staging, production]
pull_request:
branches: [dev, staging, production]
jobs:
asset-lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: technote-space/get-diff-action@v6
id: git-diff
with:
patterns: |
package.json
package-lock.json
**/*.css
**/*.js"
- uses: shivammathur/setup-php@v2
if: steps.git-diff.outputs.diff
with:
php-version: "8.1"
- name: Cache Composer packages
if: steps.git-diff.outputs.diff
uses: actions/cache@v3
with:
path: vendor
key: php-${{ hashFiles('**/composer.lock') }}
- name: Install dependencies
if: steps.git-diff.outputs.diff
run: composer install -q --no-ansi --no-interaction --no-scripts --no-progress --prefer-dist
- uses: actions/setup-node@v3
if: steps.git-diff.outputs.diff
with:
node-version: "16"
- name: Cache node modules
if: steps.git-diff.outputs.diff
uses: actions/cache@v3
with:
path: node_modules
key: ${{ runner.OS }}-build-${{ hashFiles('**/package-lock.json') }}
- name: Install dependencies
if: steps.git-diff.outputs.diff
run: npm install
env:
CI: true
- name: Lint files
if: steps.git-diff.outputs.diff
run: npm run lint