diff --git a/.github/workflows/example-basic-pnpm.yml b/.github/workflows/example-basic-pnpm.yml index eabc7eab5..c2b28d962 100644 --- a/.github/workflows/example-basic-pnpm.yml +++ b/.github/workflows/example-basic-pnpm.yml @@ -22,7 +22,7 @@ jobs: - name: Install pnpm uses: pnpm/action-setup@v4 with: - version: 9 + version: 10 # See https://github.com/actions/setup-node - name: Install Node.js diff --git a/.github/workflows/example-start-and-pnpm-workspaces.yml b/.github/workflows/example-start-and-pnpm-workspaces.yml index 4a1e8be75..3e418d2fe 100644 --- a/.github/workflows/example-start-and-pnpm-workspaces.yml +++ b/.github/workflows/example-start-and-pnpm-workspaces.yml @@ -24,7 +24,7 @@ jobs: # pnpm is not installed by default on GitHub runners - name: Install pnpm - run: npm install -g pnpm@9 + run: npm install -g pnpm@10 - name: Install dependencies # with Cypress GitHub Action. @@ -75,7 +75,7 @@ jobs: uses: actions/checkout@v4 - name: Install pnpm - run: npm install -g pnpm@9 + run: npm install -g pnpm@10 - name: Install dependencies uses: ./ # approximately equivalent to using cypress-io/github-action@v6 diff --git a/README.md b/README.md index 40cef060e..f8c2fd7f9 100644 --- a/README.md +++ b/README.md @@ -1142,7 +1142,7 @@ jobs: - name: Install pnpm uses: pnpm/action-setup@v4 with: - version: 9 + version: 10 - name: Install Node.js uses: actions/setup-node@v4 with: diff --git a/examples/basic-pnpm/package.json b/examples/basic-pnpm/package.json index 6ab87a7ec..35901f154 100644 --- a/examples/basic-pnpm/package.json +++ b/examples/basic-pnpm/package.json @@ -9,5 +9,8 @@ "private": true, "devDependencies": { "cypress": "13.17.0" + }, + "pnpm": { + "onlyBuiltDependencies": ["cypress"] } } diff --git a/examples/start-and-pnpm-workspaces/package.json b/examples/start-and-pnpm-workspaces/package.json index 129e4f330..9b06cd3f3 100644 --- a/examples/start-and-pnpm-workspaces/package.json +++ b/examples/start-and-pnpm-workspaces/package.json @@ -2,5 +2,8 @@ "name": "start-and-pnpm-workspaces", "version": "1.0.0", "description": "example using pnpm with workspaces", - "private": true + "private": true, + "pnpm": { + "onlyBuiltDependencies": ["cypress"] + } }