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

【9.72でマージ】非推奨パッケージを抹殺抹消 #765

Merged
merged 34 commits into from
Mar 2, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
b47f4bf
fix: delete-meta
drill-lancer Feb 7, 2022
6db85ef
delete: old packages
drill-lancer Feb 7, 2022
e181995
fix: 不要なテスト削除
drill-lancer Feb 7, 2022
b2dc3ca
fix: phpunit action
drill-lancer Feb 7, 2022
23b3acf
fix: test
drill-lancer Feb 7, 2022
c9ccc6b
フィx:build-check
drill-lancer Feb 7, 2022
e9a2580
Merge branch 'develop' into fix/old-death
kurudrive Feb 9, 2022
d8eeb8b
ビルドスクリプトに composer install 追加
kurudrive Feb 9, 2022
57a935f
Merge branch 'develop' into fix/old-death
kurudrive Feb 9, 2022
925f45f
Merge branch 'develop' into fix/old-death
kurudrive Feb 9, 2022
25bc1fb
ビルドコマンドテスト
kurudrive Feb 9, 2022
3494998
yml 調整
kurudrive Feb 9, 2022
e9be5c8
yml テスト
kurudrive Feb 9, 2022
148709c
yml 調整
kurudrive Feb 9, 2022
db5d61b
yml テスト
kurudrive Feb 9, 2022
5a35ae7
yml テスト
kurudrive Feb 9, 2022
03ba12e
yoast polyfil追加
kurudrive Feb 9, 2022
1570f18
fix: error
drill-lancer Feb 10, 2022
e239e12
チェックで一時的にはずしてた 7.2と7.3を復帰
kurudrive Feb 10, 2022
ee40d09
yml 修正( PHPバージョン違い半角スペースが必要って事? )
kurudrive Feb 10, 2022
dbe9046
yml テストを 7.3〜に
kurudrive Feb 10, 2022
697bd07
[ 機能削除 ] コード整形及び削除バージョン変更
kurudrive Feb 17, 2022
58f891f
Merge branch 'develop' into fix/old-death
kurudrive Mar 1, 2022
9debcfd
yml tyi
kurudrive Mar 1, 2022
0e59d5d
dist : コマンドエラー修正
kurudrive Mar 1, 2022
f32131e
dev : デプロイ修正
kurudrive Mar 1, 2022
8e36f47
dev : デプロイ戻し
kurudrive Mar 1, 2022
fd8e4cc
Revert "dev : デプロイ戻し"
kurudrive Mar 1, 2022
db5a6c4
[ dev ] add zip
kurudrive Mar 1, 2022
b506ee2
[ dev ] githubデプロイコマンド修正
kurudrive Mar 1, 2022
c210cf3
9.72.1.1 の release
kurudrive Mar 1, 2022
d85eb81
fix:deploy
drill-lancer Mar 2, 2022
874cfcc
fix: deploy
drill-lancer Mar 2, 2022
a438f95
fix: deploy
drill-lancer Mar 2, 2022
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
39 changes: 27 additions & 12 deletions .distignore
Original file line number Diff line number Diff line change
@@ -1,20 +1,35 @@
tests
bin
dist
.wordpress-org
.git
.github
_notes/
bin/
dist/
docs/
node_modules/
tests/
.wordpress-org/
.git/
.github/
.distignore
.eslintrc.js
.gitignore
.node-version
.phpcs.xml
.phpunit.xml
.svnignore
.wp-env.json
.phpcs.xml
.wp-env.json
.wp-env.override.json
.DS_Store
composer.json
composer.lock
docker-compose.yml
Dockerfile
gulpfile.js
package-lock.json
package.json
README.md
readme.md
*sftp-config.json
node_modules/
.DS_Store
Thumbs.db
_notes/
*~
*sftp-config.json
*.before
.wp-env.override.json
*.override.json
*.override.json
27 changes: 17 additions & 10 deletions .github/workflows/build_check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,11 @@ on:
push:
branches:
- master
- develop
pull_request:
branches:
- master
- develop
- ^feature/.+

jobs:
Expand All @@ -17,12 +19,11 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 12.x
node-version: 14.x

- run: cp assets/js/all.min.js .all.min.js.before
- run: cp assets/css/vkExUnit_sns_editor_style.css .vkExUnit_sns_editor_style.css.before
- run: cp assets/css/vkExUnit_style.css .vkExUnit_style.css.before
- run: cp assets/css/vkExUnit_style_in_bs.css .vkExUnit_style_in_bs.css.before
- run: cp assets/css/vkExUnit_editor_style.css .vkExUnit_editor_style.css.before
- run: cp assets/css/vkExUnit_admin.css .vkExUnit_admin.css.before
- run: cp assets/js/block.min.js .block.min.js.before
Expand All @@ -39,7 +40,6 @@ jobs:
- run: npm run gulp sass
- run: diff assets/css/vkExUnit_sns_editor_style.css .vkExUnit_sns_editor_style.css.before
- run: diff assets/css/vkExUnit_style.css .vkExUnit_style.css.before
- run: diff assets/css/vkExUnit_style_in_bs.css .vkExUnit_style_in_bs.css.before
- run: diff assets/css/vkExUnit_editor_style.css .vkExUnit_editor_style.css.before
- run: diff assets/css/vkExUnit_admin.css .vkExUnit_admin.css.before

Expand Down Expand Up @@ -70,15 +70,22 @@ jobs:
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
- uses: actions/setup-node@v1
- name: Setup Node 14.x
uses: actions/setup-node@v1
with:
node-version: 12.x
- run: npm install
node-version: 14.x
- name: install npm scripts
run: npm install
- name: install Composer Package
run: composer install
- name: install composer packages
run: ./node_modules/@wordpress/env/bin/wp-env start
- run: ./node_modules/@wordpress/env/bin/wp-env run composer 'composer install'
- run: ./node_modules/@wordpress/env/bin/wp-env run phpunit 'phpunit -c /var/www/html/wp-content/plugins/vk-all-in-one-expansion-unit/phpunit.xml.dist --verbose'
- name: Install WP-CLI
run: |
curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar
chmod +x wp-cli.phar
mv wp-cli.phar /usr/local/bin/wp
- name: Build
run: npm run build
- name: Run Environment
run: npx wp-env start
- name: Run Environment
run: npm run phpunit
67 changes: 49 additions & 18 deletions .github/workflows/wp-plugin-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,32 @@ env:
plugin_name: vk-all-in-one-expansion-unit

jobs:
tag:
name: Deploy to plugin directory
plugin-deploy:
name: Deploy to Wordpress.org plugin directory
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master

- name: Build
run: composer install --optimize-autoloader --prefer-dist --no-dev
- uses: actions/setup-node@v1
with:
node-version: 14.19.0
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 7.4
- name: install npm scripts
run: npm install
- name: install Composer Package
run: composer install
- name: Install WP-CLI
run: |
curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar
chmod +x wp-cli.phar
mv wp-cli.phar /usr/local/bin/wp
- name: npm Build
run: npm run build
- name: Make Distribution
run: npm run dist:org
if: contains(github.ref, 'tags/')

- name: WordPress Plugin Deploy
uses: 10up/action-wordpress-plugin-deploy@master
env:
Expand All @@ -29,15 +45,30 @@ jobs:
name: Release to GitHub
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: bash bin/dist

- name: Composer install
run: composer install --optimize-autoloader --prefer-dist --no-dev
if: contains(github.ref, 'tags/')

- run: echo "DIST_VERSION=$(echo ${{ github.ref }} | sed -E 's/^refs\/tags\/v?(.*)$/\1/')" >> $GITHUB_ENV
- run: test -e dist/${{ env.plugin_name }}_v${{ env.DIST_VERSION }}.zip
- uses: actions/checkout@master
- uses: actions/setup-node@v1
with:
node-version: 14.19.0
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 7.4
- name: install npm scripts
run: npm install
- name: install Composer Package
run: composer install
- name: Install WP-CLI
run: |
curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar
chmod +x wp-cli.phar
mv wp-cli.phar /usr/local/bin/wp
- name: npm Build
run: npm run build
- name: Make Distribution
run: |
npm run dist:github
cd dist/ && zip -r ${{ env.plugin_name }}.zip ${{ env.plugin_name }}/
- run: test -e dist/${{ env.plugin_name }}.zip
- name: Create Release
id: create_release
uses: actions/create-release@v1
Expand All @@ -48,14 +79,14 @@ jobs:
release_name: Release ${{ github.ref }}
draft: false
prerelease: false
- run : test -e dist/${{ env.plugin_name }}_v${{ env.DIST_VERSION }}.zip
- run : test -e dist/${{ env.plugin_name }}.zip
- name: Upload Release Asset
id: upload-release-asset
uses: actions/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./dist/${{ env.plugin_name }}_v${{ env.DIST_VERSION }}.zip
asset_name: ${{ env.plugin_name }}_v${{ env.DIST_VERSION }}.zip
asset_path: ./dist/${{ env.plugin_name }}.zip
asset_name: ${{ env.plugin_name }}.zip
asset_content_type: application/zip
File renamed without changes.
File renamed without changes.
Loading