Skip to content

Commit

Permalink
Fix pnpm version for CI (#2204)
Browse files Browse the repository at this point in the history
Update pnpm gh action to 9.0.2
  • Loading branch information
ocflowiseai authored Apr 18, 2024
1 parent 2cadd68 commit 7130773
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 7130773

Please sign in to comment.