Skip to content
This repository has been archived by the owner on Jan 30, 2025. It is now read-only.

Commit

Permalink
Merge pull request #571 from bluehost/develop
Browse files Browse the repository at this point in the history
Release 3.0.7
  • Loading branch information
wpscholar authored Jul 28, 2023
2 parents 9fb946e + 2fd05fd commit 50958ac
Show file tree
Hide file tree
Showing 34 changed files with 2,275 additions and 5,102 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/cypress-matrix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,9 @@ jobs:
- name: Install PHP Dependencies
run: composer install --no-progress --no-dev --optimize-autoloader --prefer-dist

- name: Setup Registry
run: printf "\n//npm.pkg.github.com/:_authToken=${{ secrets.NEWFOLD_READ_GH_PACKAGES }}" >> .npmrc

- name: NPM Install
run: npm install --legacy-peer-deps

Expand Down Expand Up @@ -118,7 +121,7 @@ jobs:
run: npx cypress run

- name: Run Cypress Tests
uses: replayio/action-cypress@v0.2.8
uses: replayio/action-cypress@v0.3.1
env:
RECORD_REPLAY_METADATA_TEST_RUN_TITLE: "php-${{ matrix.phpVersion }}, wp-${{ matrix.wpVersion }}"
RECORD_REPLAY_API_KEY: ${{ secrets.RECORD_REPLAY_API_KEY }}
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/cypress-tests-beta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,9 @@ jobs:
- name: Install PHP Dependencies
run: composer install --no-progress --no-dev --optimize-autoloader --prefer-dist

- name: Setup Registry
run: printf "\n//npm.pkg.github.com/:_authToken=${{ secrets.NEWFOLD_READ_GH_PACKAGES }}" >> .npmrc

- name: NPM Install
run: npm install --legacy-peer-deps

Expand Down Expand Up @@ -102,7 +105,7 @@ jobs:
run: npx cypress run

- name: Run Cypress Beta Only Tests
uses: replayio/action-cypress@v0.2.8
uses: replayio/action-cypress@v0.3.1
env:
RECORD_REPLAY_API_KEY: ${{ secrets.RECORD_REPLAY_API_KEY }}
if: ${{ github.repository == 'bluehost/bluehost-wordpress-plugin' && env.RECORD_REPLAY_API_KEY != '' }}
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/cypress.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,9 @@ jobs:
- name: Install PHP Dependencies
run: composer install --no-progress --no-dev --optimize-autoloader --prefer-dist

- name: Setup Registry
run: printf "\n//npm.pkg.github.com/:_authToken=${{ secrets.NEWFOLD_READ_GH_PACKAGES }}" >> .npmrc

- name: NPM Install
run: npm install --legacy-peer-deps

Expand All @@ -105,7 +108,7 @@ jobs:
run: npx cypress run

- name: Run Cypress Tests
uses: replayio/action-cypress@v0.2.8
uses: replayio/action-cypress@v0.3.1
env:
RECORD_REPLAY_API_KEY: ${{ secrets.RECORD_REPLAY_API_KEY }}
if: ${{ github.repository == 'bluehost/bluehost-wordpress-plugin' && env.RECORD_REPLAY_API_KEY != '' }}
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/upload-artifact-on-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,11 +83,15 @@ jobs:
npm --version
- name: Validate composer.json and composer.lock
if: ${{ github.repository == 'bluehost/bluehost-wordpress-plugin' }}
run: composer validate

- name: Install PHP Dependencies
run: composer install --no-progress --no-dev --optimize-autoloader --prefer-dist

- name: Setup Registry
run: printf "\n//npm.pkg.github.com/:_authToken=${{ secrets.NEWFOLD_READ_GH_PACKAGES }}" >> .npmrc

- name: NPM Install
run: npm install --legacy-peer-deps

Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/upload-asset-on-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,9 @@ jobs:
- name: Install PHP Dependencies
run: composer install --no-progress --no-dev --optimize-autoloader --prefer-dist

- name: Setup Registry
run: printf "\n//npm.pkg.github.com/:_authToken=${{ secrets.NEWFOLD_READ_GH_PACKAGES }}" >> .npmrc

- name: NPM Install
run: npm install --legacy-peer-deps

Expand Down Expand Up @@ -119,4 +122,4 @@ jobs:
uses: dhollerbach/[email protected]
with:
webhook: '${{ secrets.TEAMS_WEBHOOK_URL }}'
message: "Bluehost plugin version ${{ env.VERSION }} has been released!"
message: "Bluehost plugin version ${{ env.VERSION }} has been released!"
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
@newfold-labs:registry=https://npm.pkg.github.com/
4 changes: 2 additions & 2 deletions bluehost-wordpress-plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* Plugin Name: The Bluehost Plugin
* Plugin URI: https://bluehost.com
* Description: WordPress plugin that integrates a WordPress site with the Bluehost control panel, including performance, security, and update features.
* Version: 3.0.6
* Version: 3.0.7
* Requires at least: 6.0
* Requires PHP: 7.1
* Tested up to: 6.2.2
Expand All @@ -31,7 +31,7 @@
}

// Define constants
define( 'BLUEHOST_PLUGIN_VERSION', '3.0.6' );
define( 'BLUEHOST_PLUGIN_VERSION', '3.0.7' );
define( 'BLUEHOST_PLUGIN_FILE', __FILE__ );
define( 'BLUEHOST_PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
define( 'BLUEHOST_PLUGIN_URL', plugin_dir_url( __FILE__ ) );
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"optimize-autoloader": true,
"sort-packages": true,
"platform": {
"php": "7.0.0"
"php": "7.1.0"
},
"platform-check": false,
"allow-plugins": {
Expand Down Expand Up @@ -56,7 +56,6 @@
"wp-phpunit/wp-phpunit": "^6.2"
},
"require": {
"doctrine/inflector": "1.2.0 as 1.3.1",
"newfold-labs/wp-module-business-reviews": "^1.1.1",
"newfold-labs/wp-module-coming-soon": "^1.1.3",
"newfold-labs/wp-module-ctb": "^1.0.0",
Expand All @@ -70,6 +69,7 @@
"newfold-labs/wp-module-onboarding": "^1.9.0",
"newfold-labs/wp-module-patterns": "^0.1.1",
"newfold-labs/wp-module-performance": "^1.1.1",
"newfold-labs/wp-module-runtime": "^1.0",
"newfold-labs/wp-module-secure-passwords": "^1.1",
"newfold-labs/wp-module-sso": "^1.0.4",
"newfold-labs/wp-module-staging": "^1.0.2",
Expand Down
Loading

0 comments on commit 50958ac

Please sign in to comment.