Skip to content

Update workflows to use WordPress 6.7 image #217

Update workflows to use WordPress 6.7 image

Update workflows to use WordPress 6.7 image #217

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