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",