Skip to content

Merge pull request #1714 from myrotvorets/renovate/react-router-dom-7… #4126

Merge pull request #1714 from myrotvorets/renovate/react-router-dom-7…

Merge pull request #1714 from myrotvorets/renovate/react-router-dom-7… #4126

Workflow file for this run

name: Code Standards Compliance Checks
on:
push:
workflow_dispatch:
concurrency:
cancel-in-progress: true
group: ${{ github.workflow }}-${{ github.ref }}
permissions:
contents: read
jobs:
php:
name: Lint PHP files
runs-on: ubuntu-latest
steps:
- name: Check out source code
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Set up PHP
uses: shivammathur/setup-php@9e72090525849c5e82e596468b86eb55e9cc5401 # 2.32.0
with:
coverage: none
env:
fail-fast: 'true'
- name: Install PHP dependencies
uses: ramsey/composer-install@57532f8be5bda426838819c5ee9afb8af389d51a # 3.0.0
- name: Add error matcher
run: echo "::add-matcher::$(pwd)/.github/checkstyle-problem-matcher.json"
- name: Run style check
run: composer phpcs -- --report=checkstyle
js:
name: Lint JS files
runs-on: ubuntu-latest
env:
NPM_CONFIG_FUND: "0"
NPM_CONFIG_AUDIT: "0"
SUPPRESS_SUPPORT: "1"
NO_UPDATE_NOTIFIER: "true"
steps:
- name: Checkout source code
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Set up Node.js environment
uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4.2.0
with:
node-version: lts/*
cache: npm
- name: Install dependencies
run: npm ci --ignore-scripts
- name: Lint files
run: npm run lint