Skip to content

Bump CI/CD versions to PHP 8.3, WP 6.5 and tested up to 6.6 #201

Bump CI/CD versions to PHP 8.3, WP 6.5 and tested up to 6.6

Bump CI/CD versions to PHP 8.3, WP 6.5 and tested up to 6.6 #201

name: Coding Standards
on:
pull_request:
branches:
- master
jobs:
php:
name: Lint PHP
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install dependencies
run: composer install
- name: Run lint
run: composer lint
js:
name: Lint JS
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version-file: '.nvmrc'
cache: 'yarn'
- name: Install dependencies
run: yarn install --immutable
- name: Run lint
run: yarn run lint:js
css:
name: Lint CSS
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version-file: '.nvmrc'
cache: 'yarn'
- name: Install dependencies
run: yarn install --immutable
- name: Run lint
run: yarn run lint:css