From d4a301e6885af4ca5bd88ed74e13bca5612c3477 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?N=C3=ADcholas=20Oliveira?= Date: Wed, 16 Oct 2024 17:06:30 -0300 Subject: [PATCH] chore: rework actions --- .github/workflows/{esm-build-test.yml => build-test.yml} | 4 ++-- .github/workflows/nextjs_bundle_analysis-app.yml | 2 +- .github/workflows/nextjs_bundle_analysis.yml | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) rename .github/workflows/{esm-build-test.yml => build-test.yml} (88%) diff --git a/.github/workflows/esm-build-test.yml b/.github/workflows/build-test.yml similarity index 88% rename from .github/workflows/esm-build-test.yml rename to .github/workflows/build-test.yml index e12ff6bab..059f15961 100644 --- a/.github/workflows/esm-build-test.yml +++ b/.github/workflows/build-test.yml @@ -1,4 +1,4 @@ -name: ESM Build Test +name: Build Test on: [pull_request] @@ -29,4 +29,4 @@ jobs: - name: Install dependencies run: npm install - name: Build Vite Test Project - run: npm run build -- --filter=@headstartwp/vite-react-test \ No newline at end of file + run: npm run build \ No newline at end of file diff --git a/.github/workflows/nextjs_bundle_analysis-app.yml b/.github/workflows/nextjs_bundle_analysis-app.yml index 8d2dc3776..e7576ed65 100644 --- a/.github/workflows/nextjs_bundle_analysis-app.yml +++ b/.github/workflows/nextjs_bundle_analysis-app.yml @@ -40,7 +40,7 @@ jobs: - name: Build next.js app # change this if your site requires a custom build command - run: npm run build --filter=wp-nextjs-app + run: npm run build -- --filter=wp-nextjs-app # Here's the first place where next-bundle-analysis' own script is used # This step pulls the raw bundle stats for the current bundle diff --git a/.github/workflows/nextjs_bundle_analysis.yml b/.github/workflows/nextjs_bundle_analysis.yml index 9f7e9ba79..513e9a4f5 100644 --- a/.github/workflows/nextjs_bundle_analysis.yml +++ b/.github/workflows/nextjs_bundle_analysis.yml @@ -40,7 +40,7 @@ jobs: - name: Build next.js app # change this if your site requires a custom build command - run: npm run build --filter=wp-nextjs + run: npm run build -- --filter=wp-nextjs-app # Here's the first place where next-bundle-analysis' own script is used # This step pulls the raw bundle stats for the current bundle