From 4b9ec6b8f2bc3ea9dfc5af64c1aae1a18af0d521 Mon Sep 17 00:00:00 2001 From: Mike McCready <66998419+MikeMcC399@users.noreply.github.com> Date: Fri, 10 Jan 2025 15:01:48 +0100 Subject: [PATCH] test(deps): update examples to pnpm 10 (#1339) --- .github/workflows/example-basic-pnpm.yml | 2 +- .github/workflows/example-start-and-pnpm-workspaces.yml | 4 ++-- README.md | 2 +- examples/basic-pnpm/package.json | 3 +++ examples/start-and-pnpm-workspaces/package.json | 5 ++++- 5 files changed, 11 insertions(+), 5 deletions(-) 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"] + } }