chore(deps): bump lucide-react from 0.475.0 to 1.14.0 #84
Workflow file for this run
This file contains hidden or 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: Code Analysis | |
| on: | |
| pull_request: | |
| paths: | |
| - '**.php' | |
| - '**.js' | |
| - '**.jsx' | |
| - '**.css' | |
| - '**.scss' | |
| - 'composer.json' | |
| - 'composer.lock' | |
| - 'package.json' | |
| - 'package-lock.json' | |
| - 'phpcs.xml' | |
| - 'phpstan.neon' | |
| - '.eslintrc.js' | |
| - '.stylelintrc.json' | |
| - '.github/workflows/code-analysis.yml' | |
| # Cancels all previous workflow runs for pull requests that have not completed. | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.head_ref || github.sha }} | |
| cancel-in-progress: true | |
| jobs: | |
| phpcs: | |
| name: PHPCS | |
| if: ${{ !contains(github.event.pull_request.labels.*.name, 'dependencies') }} | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| - name: Setup PHP | |
| uses: shivammathur/setup-php@v2 | |
| with: | |
| php-version: '8.2' | |
| coverage: none | |
| tools: composer, cs2pr, phpcs | |
| - name: Get Composer cache directory | |
| id: composer-cache | |
| run: echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT | |
| - uses: actions/cache@v5 | |
| with: | |
| path: ${{ steps.composer-cache.outputs.dir }} | |
| key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }} | |
| restore-keys: ${{ runner.os }}-composer- | |
| - name: Install composer dependencies | |
| env: | |
| COMPOSER_AUTH: '{"github-oauth": {"github.com": "${{ secrets.BSF_PRODUCTS_REPO_TOKEN }}"}}' | |
| run: composer install --prefer-dist --no-progress | |
| - name: Run PHPCS | |
| run: ./vendor/bin/phpcs --report-full --report-checkstyle=./phpcs-report.xml | |
| phpstan: | |
| name: PHPStan | |
| if: ${{ !contains(github.event.pull_request.labels.*.name, 'dependencies') }} | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| - name: Setup PHP | |
| uses: shivammathur/setup-php@v2 | |
| with: | |
| php-version: '8.2' | |
| coverage: none | |
| tools: composer | |
| - name: Get Composer cache directory | |
| id: composer-cache | |
| run: echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT | |
| - uses: actions/cache@v5 | |
| with: | |
| path: ${{ steps.composer-cache.outputs.dir }} | |
| key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }} | |
| restore-keys: ${{ runner.os }}-composer- | |
| - name: Install composer dependencies | |
| env: | |
| COMPOSER_AUTH: '{"github-oauth": {"github.com": "${{ secrets.BSF_PRODUCTS_REPO_TOKEN }}"}}' | |
| run: composer install --prefer-dist --no-progress | |
| - name: PHP static analysis | |
| run: composer run phpstan | |
| js-css-lint: | |
| name: JS & CSS Lint | |
| if: ${{ !contains(github.event.pull_request.labels.*.name, 'dependencies') }} | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| - name: Use desired version of NodeJS | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: '18.15.0' | |
| cache: 'npm' | |
| - name: Install npm dependencies | |
| run: npm ci --legacy-peer-deps | |
| - name: Lint JS | |
| run: npm run lint-js | |
| - name: Lint CSS | |
| run: npm run lint-css |