diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index 4f05565a..f167c9e1 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -18,7 +18,12 @@ jobs: with: node-version: '20.x' registry-url: 'https://registry.npmjs.org' - - run: npm ci - - run: npm publish --access public + scope: '@newfold' + + - name: Install Dependencies + run: npm ci && npm run build + + - name: Publish + run: npm publish env: - NODE_AUTH_TOKEN: ${{ secrets.NPMJS_TOKEN }} \ No newline at end of file + NODE_AUTH_TOKEN: ${{ secrets.NPMJS_TOKEN }} diff --git a/bootstrap.php b/bootstrap.php index e0fe4e4c..c1889bcd 100644 --- a/bootstrap.php +++ b/bootstrap.php @@ -5,7 +5,7 @@ use function NewfoldLabs\WP\ModuleLoader\register; -define( 'NFD_ECOMMERCE_MODULE_VERSION', '1.4.7' ); +define( 'NFD_ECOMMERCE_MODULE_VERSION', '1.5.0' ); if ( function_exists( 'is_admin' ) && is_admin() ) { $old_woocommerce_module_version = get_option( 'nfd_ecommerce_module_version' ); diff --git a/package-lock.json b/package-lock.json index 9c78c4a9..344f4add 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@newfold/wp-module-ecommerce", - "version": "1.4.7", + "version": "1.5.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@newfold/wp-module-ecommerce", - "version": "1.4.7", + "version": "1.5.0", "license": "GPL-2.0-or-later", "dependencies": { "@faizaanceg/pandora": "^1.1.1", diff --git a/package.json b/package.json index 20f189f8..618d9e21 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "@newfold/wp-module-ecommerce", "description": "Brand Agnostic eCommerce Experience", "license": "GPL-2.0-or-later", - "version": "1.4.7", + "version": "1.5.0", "main": "build/index.js", "files": [ "build/", diff --git a/tests/cypress/integration/Home/migration.cy.js b/tests/cypress/integration/Home/migration.cy.js index c9a64062..4328e0e8 100644 --- a/tests/cypress/integration/Home/migration.cy.js +++ b/tests/cypress/integration/Home/migration.cy.js @@ -61,11 +61,9 @@ describe( .should( 'exist' ) .click(); EventsAPI( APIList.update_nameserver, pluginId ); - cy.wait( 1000 ); cy.get( '.help-container', { timeout: customCommandTimeout, } ).should( 'be.visible' ); - cy.wait( 1000 ); cy.get( 'div.helpcenter-question-block' ).then( ( $el ) => { if ( $el.length ) { cy.wrap( $el ).children().last().invoke( 'text' ).then( ( text ) => {