diff --git a/.github/workflows/performance-check.yml b/.github/workflows/performance-check.yml new file mode 100644 index 0000000..90ca271 --- /dev/null +++ b/.github/workflows/performance-check.yml @@ -0,0 +1,20 @@ +on: + pull_request: + push: + branches: + - main + - 'releases/*' +jobs: + performance-test: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v3 + + - name: Run performance tests + uses: swissspidy/wp-performance-action@main + with: + plugins: | + ./ + urls: | + / \ No newline at end of file diff --git a/.github/workflows/plugin-check.yml b/.github/workflows/plugin-check.yml index 3bd2a32..60da582 100644 --- a/.github/workflows/plugin-check.yml +++ b/.github/workflows/plugin-check.yml @@ -13,4 +13,6 @@ jobs: - name: Checkout uses: actions/checkout@v3 - name: Run plugin check - uses: swissspidy/wp-plugin-check-action@main \ No newline at end of file + uses: swissspidy/wp-plugin-check-action@main + with: + exclude-directories: 'env' \ No newline at end of file diff --git a/.wp-env.json b/.wp-env.json deleted file mode 100644 index 1ae653e..0000000 --- a/.wp-env.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "core": "WordPress/WordPress#6.4.0", - "plugins": ["."] - -} diff --git a/env/.nvmrc b/env/.nvmrc new file mode 100644 index 0000000..b6a7d89 --- /dev/null +++ b/env/.nvmrc @@ -0,0 +1 @@ +16