From 64de75718acf3611852197ce70f92e81b2b36e9b Mon Sep 17 00:00:00 2001 From: Justin Frydman Date: Tue, 20 Feb 2024 14:06:40 -0700 Subject: [PATCH] Add build_ci pup config, use that in gh tests --- .github/workflows/tests.yml | 2 +- .puprc | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index abada401b..560cca6f4 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -45,7 +45,7 @@ jobs: - run: bun install --frozen-lockfile - name: Build packages - run: bun run build + run: bun run build_ci - name: Get Composer Cache Directory id: get-composer-cache-dir diff --git a/.puprc b/.puprc index 09b6eaf0f..f911eee0d 100644 --- a/.puprc +++ b/.puprc @@ -5,6 +5,10 @@ "npm run build", "composer wp" ], + "build_ci": [ + "npm install --legacy-peer-deps", + "npm run build" + ], "build_dev": [ "composer install --no-dev", "npm install --legacy-peer-deps",