From 713077381b9bbba89ac477661e82442ea5320c63 Mon Sep 17 00:00:00 2001 From: Octavian FlowiseAI <154992625+ocflowiseai@users.noreply.github.com> Date: Thu, 18 Apr 2024 03:22:53 +0200 Subject: [PATCH] Fix pnpm version for CI (#2204) Update pnpm gh action to 9.0.2 --- .github/workflows/main.yml | 6 +++--- Dockerfile | 2 +- package.json | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 7306010293e..cf01633b0db 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -19,15 +19,15 @@ jobs: PUPPETEER_SKIP_DOWNLOAD: true steps: - uses: actions/checkout@v4 - - uses: pnpm/action-setup@v2 + - uses: pnpm/action-setup@v3 with: - version: 6.32.9 + version: 9.0.2 - name: Use Node.js ${{ matrix.node-version }} uses: actions/setup-node@v4 with: node-version: ${{ matrix.node-version }} check-latest: false - - run: npm i -g pnpm@8.14.0 + - run: npm i -g pnpm - run: pnpm install - run: ./node_modules/.bin/cypress install - run: pnpm lint diff --git a/Dockerfile b/Dockerfile index a9869fc80d6..60f2400bc1a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,7 +13,7 @@ RUN apk add --no-cache build-base cairo-dev pango-dev RUN apk add --no-cache chromium #install PNPM globaly -RUN npm install -g pnpm@8.14.0 +RUN npm install -g pnpm ENV PUPPETEER_SKIP_DOWNLOAD=true ENV PUPPETEER_EXECUTABLE_PATH=/usr/bin/chromium-browser diff --git a/package.json b/package.json index 2dfa3c6eb72..35b4c806b2f 100644 --- a/package.json +++ b/package.json @@ -52,7 +52,7 @@ "turbo": "1.10.16", "typescript": "^4.8.4" }, - "packageManager": "pnpm@8.14.0", + "packageManager": "pnpm@9.0.2", "pnpm": { "onlyBuiltDependencies": [ "faiss-node",