diff --git a/.distignore b/.distignore index 489cb6e6f..8c5cb7454 100644 --- a/.distignore +++ b/.distignore @@ -16,5 +16,14 @@ patchwork.json *.config.* *.md gulpfile.js +webpack.config.js +readme.md changelog.txt psalm.xml +node_modules/ +.babelrc +.composer_compiled_assets +.editorconfig +.env.example +.idea/ +.psalm/ diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 034311fe3..9339c5a3f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,7 +8,7 @@ jobs: strategy: fail-fast: false matrix: - php-versions: ['7.2', '7.3', '7.4', '8.0'] + php-versions: ['7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3'] name: PHP ${{ matrix.php-versions }} steps: diff --git a/.github/workflows/languages-diff.yml b/.github/workflows/languages-diff.yml new file mode 100644 index 000000000..1f88c0960 --- /dev/null +++ b/.github/workflows/languages-diff.yml @@ -0,0 +1,27 @@ +name: Languages-diff + +on: + workflow_dispatch: + inputs: + PACKAGE_VERSION: + description: 'Package Version' + required: true +jobs: + languages-diff: + runs-on: ubuntu-latest + steps: + - name: Checkout repository + uses: actions/checkout@v2 + - name: "Create CSV of diff translations" + run: | + chmod +x ./convert_csv.sh + ./convert_csv.sh + - name: Set artifact name + id: set-artifact-name + run: echo "artifact=mollie-payments-for-woocommerce-languages-${{ inputs.PACKAGE_VERSION }}" >> $GITHUB_OUTPUT + + - name: Upload artifact + uses: actions/upload-artifact@v3 + with: + name: ${{ steps.set-artifact-name.outputs.artifact }} + path: languages/* diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 50a670937..c6db1c4ce 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -7,7 +7,7 @@ on: required: true jobs: create_archive: - uses: inpsyde/reusable-workflows/.github/workflows/build-plugin-archive.yml@main + uses: inpsyde/reusable-workflows/.github/workflows/build-plugin-archive.yml@task/build-plugin-archive-without-dep-dependencies with: PLUGIN_VERSION: ${{ inputs.PACKAGE_VERSION }} PHP_VERSION: 7.2 diff --git a/.gitignore b/.gitignore index 19b25e5cd..2d7c35522 100644 --- a/.gitignore +++ b/.gitignore @@ -17,7 +17,7 @@ /tools/ /build/ /tests/e2e/Shared/default.json - +package-lock.json .env cypress.json test-results/ diff --git a/.idea/WooCommerce.iml b/.idea/WooCommerce.iml index c3c350cf3..9aa75e6b5 100644 --- a/.idea/WooCommerce.iml +++ b/.idea/WooCommerce.iml @@ -9,77 +9,76 @@ - - - + + + + + + + + + - + + + + + + - - - - - - - - - - - - - + - - - - - - - - - - + + + - - - - - - + + + + - - - - - - - - - + + + + + + + + + - - - - - + + + - - - - - + + + + + + + + + + + + + + + + + + + - - - - - + + diff --git a/.idea/php.xml b/.idea/php.xml index 32cb2411d..34031bf4e 100644 --- a/.idea/php.xml +++ b/.idea/php.xml @@ -27,22 +27,76 @@ + + + + + + - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + + + + + + - - - - + + + + + + + + + + + + + @@ -62,72 +116,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -138,13 +126,16 @@ - + + + + - - + + @@ -237,6 +228,17 @@ + + + + + + + + + + + @@ -259,4 +261,4 @@