Skip to content

Bump ws and @wordpress/scripts #62

Bump ws and @wordpress/scripts

Bump ws and @wordpress/scripts #62

Workflow file for this run

name: WordPress Coding Standards
on:
workflow_dispatch:
push:
branches:
- main
pull_request:
jobs:
phpcs:
name: WPCS
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: WPCS check
uses: 10up/wpcs-action@stable
with:
standard: 'WordPress'
extra_args: '--report-json=./phpcs.json'
- name: Update summary
run: |
npm i -g github:10up/phpcs-json-to-md
phpcs-json-to-md --path ./phpcs.json --output ./phpcs.md
cat phpcs.md >> $GITHUB_STEP_SUMMARY
if: always()