Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

【確認済み】ブロックカテゴリを変更 #35

Merged
merged 9 commits into from
Jun 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 3 additions & 6 deletions .github/workflows/php_unit_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ jobs:
strategy:
matrix:
php-versions: ['7.4', '8.0', '8.1']
wp-versions: ['6.3','6.2','6.1.1']
name: PHP Unit test ${{ matrix.php-versions }} / WP ${{ matrix.wp-versions }} Test on ${{ matrix.operating-system }}
wp-versions: ['6.3', '6.2', '6.1.1']
name: PHP Unit test ${{ matrix.php-versions }} / WP ${{ matrix.wp-versions }} Test
services:
mysql:
image: mysql:5.7
Expand All @@ -27,13 +27,10 @@ jobs:
MYSQL_PASSWORD: wordpress
steps:
- uses: actions/checkout@v3
- name: Read .node-version
run: echo "{NODEVERSION}={$(cat .node-version)}" >> $GITHUB_OUTPUT
id: nodenv
- name: Setup Node.js (.node-version)
uses: actions/setup-node@v3
with:
node-version: '${{ steps.nodenv.outputs.NODEVERSION }}'
node-version: 20.x
- name: Cache multiple paths
uses: actions/cache@v3
with:
Expand Down
36 changes: 18 additions & 18 deletions .github/workflows/wp-plugin-deploy.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
name: Deploy to WordPress.org
on:
push:
tags:
- "[0-9]+.[0-9]+.[0-9]+.[0-9]+"
push:
tags:
- '[0-9]+.[0-9]+.[0-9]+.[0-9]+'

jobs:
tag:
name: New tag
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Build
run: |
npm install
npm run build
- name: WordPress Plugin Deploy
uses: 10up/action-wordpress-plugin-deploy@develop
env:
SVN_PASSWORD: ${{ secrets.SVN_PASSWORD }}
SVN_USERNAME: ${{ secrets.SVN_USERNAME }}
SLUG: vk-simple-copy-block
tag:
name: New tag
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Build
run: |
npm install
npm run build
- name: WordPress Plugin Deploy
uses: 10up/action-wordpress-plugin-deploy@develop
env:
SVN_PASSWORD: ${{ secrets.SVN_PASSWORD }}
SVN_USERNAME: ${{ secrets.SVN_USERNAME }}
SLUG: vk-simple-copy-block
1 change: 1 addition & 0 deletions .phpunit.result.cache
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"version":1,"defects":[],"times":{"Test_PHP_Fatal_Error::test_run_php_fatal_error":0.104,"SimpleCopyTest::test_get_copy_target_block_contents":0.009}}
File renamed without changes.
5 changes: 3 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,9 @@
"dealerdirect/phpcodesniffer-composer-installer": "*",
"phpcompatibility/phpcompatibility-wp": "*",
"wp-coding-standards/wpcs": "*",
"yoast/phpunit-polyfills": "^1.0",
"vektor-inc/vk-wp-unit-test-tools": "^0.10.0"
"yoast/phpunit-polyfills": "^1.1",
"vektor-inc/vk-wp-unit-test-tools": "^0.10.0",
"doctrine/instantiator": "^1.5"
},
"scripts": {
"format": "phpcbf --standard=./.phpcs.xml.dist --report-summary --report-source",
Expand Down
Loading
Loading