From ffe5154ca008422b1ee59afbe22d60624d9c0d8c Mon Sep 17 00:00:00 2001 From: gauthier-th Date: Mon, 10 Feb 2025 21:56:33 +0100 Subject: [PATCH] chore: update to pnpm v10 --- .github/workflows/ci.yml | 2 +- .github/workflows/cypress.yml | 2 +- .github/workflows/docs-deploy.yml | 2 +- .github/workflows/preview.yml | 4 ++++ .github/workflows/release.yml | 2 +- .github/workflows/test-docs-deploy.yml | 4 ++-- docs/getting-started/buildfromsource.mdx | 2 +- package.json | 2 +- 8 files changed, 12 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 44b07fd9..2000d3a6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,7 +20,7 @@ jobs: - name: Pnpm Setup uses: pnpm/action-setup@v4 with: - version: 9 + version: 10 - name: Get pnpm store directory shell: sh run: | diff --git a/.github/workflows/cypress.yml b/.github/workflows/cypress.yml index 4dc75901..d7f386a3 100644 --- a/.github/workflows/cypress.yml +++ b/.github/workflows/cypress.yml @@ -21,7 +21,7 @@ jobs: - name: Pnpm Setup uses: pnpm/action-setup@v4 with: - version: 9 + version: 10 - name: Cypress run uses: cypress-io/github-action@v6 with: diff --git a/.github/workflows/docs-deploy.yml b/.github/workflows/docs-deploy.yml index 6d9adb8a..c2814e20 100644 --- a/.github/workflows/docs-deploy.yml +++ b/.github/workflows/docs-deploy.yml @@ -25,7 +25,7 @@ jobs: - name: Pnpm Setup uses: pnpm/action-setup@v4 with: - version: 9 + version: 10 - name: Get pnpm store directory shell: sh diff --git a/.github/workflows/preview.yml b/.github/workflows/preview.yml index bacd21e0..1034a3ce 100644 --- a/.github/workflows/preview.yml +++ b/.github/workflows/preview.yml @@ -12,6 +12,10 @@ jobs: steps: - name: Checkout uses: actions/checkout@v4 + - name: Pnpm Setup + uses: pnpm/action-setup@v4 + with: + version: 10 - name: Get the version id: get_version run: echo "VERSION=${GITHUB_REF#refs/tags/}" >> $GITHUB_OUTPUT diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d0c36976..eed97bcc 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -35,7 +35,7 @@ jobs: - name: Pnpm Setup uses: pnpm/action-setup@v4 with: - version: 9 + version: 10 - name: Get pnpm store directory shell: sh run: | diff --git a/.github/workflows/test-docs-deploy.yml b/.github/workflows/test-docs-deploy.yml index 5526af09..d2d54831 100644 --- a/.github/workflows/test-docs-deploy.yml +++ b/.github/workflows/test-docs-deploy.yml @@ -25,7 +25,7 @@ jobs: - name: Pnpm Setup uses: pnpm/action-setup@v4 with: - version: 9 + version: 10 - name: Get pnpm store directory shell: sh @@ -42,7 +42,7 @@ jobs: - name: Install dependencies run: | - cd gen-docs + cd gen-docs pnpm install --frozen-lockfile - name: Build website diff --git a/docs/getting-started/buildfromsource.mdx b/docs/getting-started/buildfromsource.mdx index 9e139dcd..bd23f43d 100644 --- a/docs/getting-started/buildfromsource.mdx +++ b/docs/getting-started/buildfromsource.mdx @@ -15,7 +15,7 @@ import TabItem from '@theme/TabItem'; ### Prerequisites - [Node.js 22.x](https://nodejs.org/en/download/) - - [Pnpm 9.x](https://pnpm.io/installation) + - [Pnpm 10.x](https://pnpm.io/installation) - [Git](https://git-scm.com/downloads) ## Unix (Linux, macOS) diff --git a/package.json b/package.json index 6e6500ed..f8653973 100644 --- a/package.json +++ b/package.json @@ -172,7 +172,7 @@ }, "engines": { "node": "^22.0.0", - "pnpm": "^9.0.0" + "pnpm": "^10.0.0" }, "overrides": { "sqlite3/node-gyp": "8.4.1",