diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 97649281e49..f9d43842306 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -40,10 +40,8 @@ jobs: with: # If 'base_ref' is available, the 'Build Matrix' step requires non-shallow git-history to identify changed files. fetch-depth: ${{ ( ( github.base_ref && '0' ) || '1' ) }} - - uses: './.github/actions/setup-woocommerce-monorepo' - name: 'Setup Monorepo' - with: - php-version: false # We don't want to waste time installing PHP since we aren't using it in this job. + - name: 'Setup PNPM' + uses: 'pnpm/action-setup@a3252b78c470c02df07e9d59298aecedc3ccdd6d' - uses: actions/github-script@v7 name: 'Build Matrix' id: 'project-jobs' @@ -254,10 +252,8 @@ jobs: - uses: 'actions/checkout@v4' name: 'Checkout' - - uses: './.github/actions/setup-woocommerce-monorepo' - name: 'Setup Monorepo' - with: - php-version: false + - name: 'Setup PNPM' + uses: 'pnpm/action-setup@a3252b78c470c02df07e9d59298aecedc3ccdd6d' - name: 'Send messages for failed jobs' env: diff --git a/.github/workflows/pr-assess-bundle-size.yml b/.github/workflows/pr-assess-bundle-size.yml index a6d4444e8a0..8e6b2272f8a 100644 --- a/.github/workflows/pr-assess-bundle-size.yml +++ b/.github/workflows/pr-assess-bundle-size.yml @@ -41,9 +41,7 @@ jobs: - name: Setup WooCommerce Monorepo uses: ./.github/actions/setup-woocommerce-monorepo with: - # Both install and build are handled by compressed-size-action. - install: false - build: false + php-version: false pull-package-deps: '@woocommerce/plugin-woocommerce' - uses: preactjs/compressed-size-action@f780fd104362cfce9e118f9198df2ee37d12946c diff --git a/.github/workflows/pr-lint-markdown.yml b/.github/workflows/pr-lint-markdown.yml index 43c82b11c26..4a600aefd93 100644 --- a/.github/workflows/pr-lint-markdown.yml +++ b/.github/workflows/pr-lint-markdown.yml @@ -39,8 +39,6 @@ jobs: - name: Setup PNPM uses: pnpm/action-setup@fe02b34f77f8bc703788d5817da081398fad5dd2 - with: - version: '8.6.7' - name: Setup Node uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c diff --git a/package.json b/package.json index dc8abb9f7ee..bb3c76374b5 100644 --- a/package.json +++ b/package.json @@ -3,6 +3,7 @@ "title": "WooCommerce Monorepo", "description": "Monorepo for the WooCommerce ecosystem", "homepage": "https://woocommerce.com/", + "packageManager": "pnpm@^9.1.0", "engines": { "node": "^20.11.1", "pnpm": "^9.1.0"