-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into feat/implement-redux
- Loading branch information
Showing
8 changed files
with
1,202 additions
and
85 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
name: WordPress Coding Standards | ||
|
||
on: | ||
push: | ||
branches: | ||
- develop | ||
- main | ||
pull_request: | ||
branches: | ||
- develop | ||
- main | ||
|
||
jobs: | ||
run: | ||
runs-on: ubuntu-latest | ||
name: PHPCS | ||
strategy: | ||
matrix: | ||
php: [ 8.1 ] | ||
|
||
steps: | ||
- name: Cancel previous runs of this workflow (pull requests only) | ||
if: ${{ github.event_name == 'pull_request' }} | ||
uses: styfle/[email protected] | ||
with: | ||
access_token: ${{ github.token }} | ||
|
||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
|
||
- name: Setup PHP | ||
uses: shivammathur/setup-php@v2 | ||
with: | ||
php-version: ${{ matrix.php }} | ||
tools: composer:v2 | ||
coverage: none | ||
|
||
- name: Install dependencies | ||
uses: ramsey/composer-install@v2 | ||
with: | ||
composer-options: "--no-progress" | ||
|
||
- name: Run PHPCS | ||
run: composer run-script check-cs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,38 @@ | ||
{ | ||
"name": "josephfusco/wpgraphql-ide", | ||
"description": "A next-gen query editor for WPGraphQL.", | ||
"type": "wordpress-plugin", | ||
"license": "GPL-3.0-or-later", | ||
"authors": [ | ||
{ | ||
"name": "Joseph Fusco", | ||
"homepage": "https://github.com/josephfusco", | ||
"role": "Developer" | ||
} | ||
], | ||
"require": { | ||
"php": "^8.0" | ||
} | ||
"name": "josephfusco/wpgraphql-ide", | ||
"description": "A next-gen query editor for WPGraphQL.", | ||
"type": "wordpress-plugin", | ||
"license": "GPL-3.0-or-later", | ||
"authors": [ | ||
{ | ||
"name": "Joseph Fusco", | ||
"homepage": "https://github.com/josephfusco", | ||
"role": "Developer" | ||
} | ||
], | ||
"require": { | ||
"php": "^8.0" | ||
}, | ||
"require-dev": { | ||
"automattic/vipwpcs": "^3.0", | ||
"slevomat/coding-standard": "^8.9", | ||
"phpcompatibility/phpcompatibility-wp": "^2.1", | ||
"phpcompatibility/php-compatibility": "dev-develop as 9.9.9" | ||
}, | ||
"scripts": { | ||
"phpcs-i": [ | ||
"php ./vendor/bin/phpcs -i" | ||
], | ||
"check-cs": [ | ||
"php ./vendor/bin/phpcs" | ||
], | ||
"fix-cs": [ | ||
"php ./vendor/bin/phpcbf" | ||
] | ||
}, | ||
"config": { | ||
"allow-plugins": { | ||
"dealerdirect/phpcodesniffer-composer-installer": true | ||
} | ||
} | ||
} |
Oops, something went wrong.