From b906d9845454eea6d5c420cedfff2e63458d0a1c Mon Sep 17 00:00:00 2001 From: Adam Silverstein Date: Tue, 7 Nov 2023 09:11:53 -0700 Subject: [PATCH 1/5] Add performance test action --- .github/workflows/performance-check.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/performance-check.yml 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 From b2ba3ed21c35f2b8e741e4f084dcd8e9607cc37b Mon Sep 17 00:00:00 2001 From: Adam Silverstein Date: Tue, 7 Nov 2023 09:16:20 -0700 Subject: [PATCH 2/5] remove outdated wp-env file --- .wp-env.json | 5 ----- 1 file changed, 5 deletions(-) delete mode 100644 .wp-env.json 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": ["."] - -} From 2f132911cf189b06f4ff86a1b94932801406b29c Mon Sep 17 00:00:00 2001 From: Adam Silverstein Date: Tue, 7 Nov 2023 09:19:37 -0700 Subject: [PATCH 3/5] Add .nvmrc --- env/.nvmrc | 1 + 1 file changed, 1 insertion(+) create mode 100644 env/.nvmrc diff --git a/env/.nvmrc b/env/.nvmrc new file mode 100644 index 0000000..3c03207 --- /dev/null +++ b/env/.nvmrc @@ -0,0 +1 @@ +18 From d5ef143674a5d4077038a84a277bcbc6f1e0b807 Mon Sep 17 00:00:00 2001 From: Adam Silverstein Date: Wed, 8 Nov 2023 12:42:06 -0700 Subject: [PATCH 4/5] try 16 --- env/.nvmrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/env/.nvmrc b/env/.nvmrc index 3c03207..b6a7d89 100644 --- a/env/.nvmrc +++ b/env/.nvmrc @@ -1 +1 @@ -18 +16 From 5538209a3357d5dce39e34e5e807bce20816b278 Mon Sep 17 00:00:00 2001 From: Adam Silverstein Date: Wed, 8 Nov 2023 12:46:22 -0700 Subject: [PATCH 5/5] exclude the env folder --- .github/workflows/plugin-check.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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