Fix pnpm version for CI (#2204)

Update pnpm gh action to 9.0.2
This commit is contained in:
Octavian FlowiseAI 2024-04-18 03:22:53 +02:00 committed by GitHub
parent 2cadd68a43
commit 713077381b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 5 additions and 5 deletions

View File

@ -19,15 +19,15 @@ jobs:
PUPPETEER_SKIP_DOWNLOAD: true PUPPETEER_SKIP_DOWNLOAD: true
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- uses: pnpm/action-setup@v2 - uses: pnpm/action-setup@v3
with: with:
version: 6.32.9 version: 9.0.2
- name: Use Node.js ${{ matrix.node-version }} - name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4 uses: actions/setup-node@v4
with: with:
node-version: ${{ matrix.node-version }} node-version: ${{ matrix.node-version }}
check-latest: false check-latest: false
- run: npm i -g pnpm@8.14.0 - run: npm i -g pnpm
- run: pnpm install - run: pnpm install
- run: ./node_modules/.bin/cypress install - run: ./node_modules/.bin/cypress install
- run: pnpm lint - run: pnpm lint

View File

@ -13,7 +13,7 @@ RUN apk add --no-cache build-base cairo-dev pango-dev
RUN apk add --no-cache chromium RUN apk add --no-cache chromium
#install PNPM globaly #install PNPM globaly
RUN npm install -g pnpm@8.14.0 RUN npm install -g pnpm
ENV PUPPETEER_SKIP_DOWNLOAD=true ENV PUPPETEER_SKIP_DOWNLOAD=true
ENV PUPPETEER_EXECUTABLE_PATH=/usr/bin/chromium-browser ENV PUPPETEER_EXECUTABLE_PATH=/usr/bin/chromium-browser

View File

@ -52,7 +52,7 @@
"turbo": "1.10.16", "turbo": "1.10.16",
"typescript": "^4.8.4" "typescript": "^4.8.4"
}, },
"packageManager": "pnpm@8.14.0", "packageManager": "pnpm@9.0.2",
"pnpm": { "pnpm": {
"onlyBuiltDependencies": [ "onlyBuiltDependencies": [
"faiss-node", "faiss-node",