diff --git a/.gitattributes b/.gitattributes index 9a24b87..0310274 100644 --- a/.gitattributes +++ b/.gitattributes @@ -4,13 +4,18 @@ /.phpcs.xml.dist export-ignore /phpunit.xml.dist export-ignore /hashboard.php export-ignore +/.babelrc export-ignore +/.browserslistrc export-ignore +/.eslintrc export-ignore /.github export-ignore /.git export-ignore /.gitignore export-ignore /.gitignore export-ignore /bin export-ignore /tests export-ignore -/WordPress/Tests export-ignore +/gulpfile.js export-ignore +/stylelint.config.js export-ignore +/webpack.config.js export-ignore # # Auto detect text files and perform LF normalization diff --git a/.github/workflows/wordpress.yml b/.github/workflows/wordpress.yml index b642e6f..0ccca12 100644 --- a/.github/workflows/wordpress.yml +++ b/.github/workflows/wordpress.yml @@ -39,6 +39,9 @@ jobs: - name: Install dependencies run: composer install --prefer-dist --no-progress --no-suggest + - name: Start MySQL + run: sudo systemctl start mysql + - name: Install WordPress run: bash bin/install-wp-tests.sh wordpress root root 127.0.0.1 ${{ matrix.wp }} diff --git a/.gitignore b/.gitignore index 5dfbbf3..9b4c136 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ node_modules/ package-lock.json assets/*.html composer.lock +/wordpress/ diff --git a/bin/cleanup.sh b/bin/cleanup.sh index cd90f7e..d9147dc 100755 --- a/bin/cleanup.sh +++ b/bin/cleanup.sh @@ -7,9 +7,12 @@ rm -rf .git rm -rf .github rm -rf .gitignore rm -rf .babelrc +rm -rf .browserslistrc rm -rf .eslintrc rm -rf bin rm -rf node_modules rm -rf tests rm -rf phpunit.xml.dist rm -rf vendor +rm -rf stylelint.config.js +rm -rf webpack.config.js diff --git a/composer.json b/composer.json index 239749b..05e3f73 100644 --- a/composer.json +++ b/composer.json @@ -15,7 +15,7 @@ "minimum-stability": "stable", "require": { "php": "^5.6|^7.0", - "hametuha/pattern": "^0.8", + "hametuha/pattern": "^0.9", "ramsey/uuid": "^3.7", "hametuha/wp-enqueue-manager": "^1.0" },