diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7bc4237..3b051fd 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -45,6 +45,21 @@ jobs: php-version: 8.3 - run: composer install --prefer-dist --no-dev -o --ignore-platform-reqs + - id: setup-node + name: "Setup Node.js" + uses: actions/setup-node@v4 + with: + node-version: '20' + cache: 'npm' + + - id: build-js + name: "Build JavaScript assets" + run: | + echo "Install npm dependencies" + npm ci + echo "Build assets" + npm run build + - id: commit-and-push name: "Commit and push new TAG" run: | diff --git a/.plugin-data b/.plugin-data index 147e582..cbe56a6 100644 --- a/.plugin-data +++ b/.plugin-data @@ -1,4 +1,4 @@ { - "version": "1.0.1", + "version": "1.0.2", "slug": "blockparty-iframe" } diff --git a/blockparty-iframe.php b/blockparty-iframe.php index 29ce564..507088b 100644 --- a/blockparty-iframe.php +++ b/blockparty-iframe.php @@ -2,7 +2,7 @@ /** * Plugin Name: Blockparty Iframe * Description: Add a block to display an embedded frame in the WordPress editor. - * Version: 1.0.1 + * Version: 1.0.2 * Requires at least: 6.7 * Requires PHP: 8.1 * Author: Be API Technical team @@ -19,7 +19,7 @@ exit; // Exit if accessed directly. } -define( 'BLOCKPARTY_IFRAME_VERSION', '1.0.1' ); +define( 'BLOCKPARTY_IFRAME_VERSION', '1.0.2' ); define( 'BLOCKPARTY_IFRAME_URL', plugin_dir_url( __FILE__ ) ); define( 'BLOCKPARTY_IFRAME_DIR', plugin_dir_path( __FILE__ ) ); define( 'BLOCKPARTY_IFRAME_PLUGIN_BASENAME', plugin_basename( __FILE__ ) ); diff --git a/package.json b/package.json index ed0db55..b76d1fc 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "blockparty-iframe", - "version": "1.0.1", + "version": "1.0.2", "description": "Add a block to display an embedded frame in the WordPress editor.", "author": "Be API Technical team", "license": "GPL-2.0-or-later", diff --git a/src/blockparty-iframe/block.json b/src/blockparty-iframe/block.json index 26fb443..b70d68a 100644 --- a/src/blockparty-iframe/block.json +++ b/src/blockparty-iframe/block.json @@ -2,7 +2,7 @@ "$schema": "https://schemas.wp.org/trunk/block.json", "apiVersion": 3, "name": "blockparty/iframe", - "version": "1.0.1", + "version": "1.0.2", "title": "Iframe", "category": "widgets", "description": "Display an embedded frame.",