Skip to content

Merge branch 'feature/staging-deploys' into trunk #1

Merge branch 'feature/staging-deploys' into trunk

Merge branch 'feature/staging-deploys' into trunk #1

Workflow file for this run

name: Static Linting
on:
pull_request:
push:
branches:
- trunk
jobs:
php:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install dependencies
uses: php-actions/composer@v6
- name: Lint PHP files
run: composer run lint
name: Linting PHP.
other:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [22.x, 18.x]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: npm ci
- name: Run the linting command
run: npm run lint:js
- name: Lint CSS files
run: npm run lint:css
env:
CI: true
name: Linting JavaScript, and CSS.