Skip to content

Commit

Permalink
Upgrade pnpm to v8 #1051
Browse files Browse the repository at this point in the history
  • Loading branch information
millianapia committed May 16, 2023
1 parent 86392d8 commit dad7864
Show file tree
Hide file tree
Showing 14 changed files with 18 additions and 18 deletions.
2 changes: 1 addition & 1 deletion .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ RUN fish install --noninteractive
VOLUME [ "/var/lib/docker" ]

# [Optional] Uncomment if you want to install more global node packages
RUN su node -c "npm install -g pnpm@7.2.1"
RUN su node -c "npm install -g pnpm@8.5.1"
RUN su node -c "npm install -g gitmoji-cli"
RUN su node -c "npm install -g azure-functions-core-tools@4 --unsafe-perm true"
RUN su node -c "npm install -g azurite"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/DEV-studio.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
id: install-pnpm
uses: pnpm/[email protected]
with:
version: '^7.2.1'
version: '^8.5.1'
- name: Install dependencies 🔧
id: install-dependencies
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/DEV-web.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
id: install-pnpm
uses: pnpm/[email protected]
with:
version: '^7.2.1'
version: '^8.5.1'
- name: Cache pnpm modules 💾
uses: actions/setup-node@v3
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/PROD-all-studios.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ jobs:
id: install-pnpm
uses: pnpm/[email protected]
with:
version: '^7.2.1'
version: '^8.5.1'
- name: Install dependencies 🔧
id: install-dependencies
run: |
Expand Down Expand Up @@ -148,7 +148,7 @@ jobs:
id: install-pnpm
uses: pnpm/[email protected]
with:
version: '^7.2.1'
version: '^8.5.1'
- name: Install dependencies 🔧
id: install-dependencies
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/PROD-studios-rollback.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ jobs:
id: install-pnpm
uses: pnpm/[email protected]
with:
version: '^7.2.1'
version: '^8.5.1'
- name: Install dependencies 🔧
id: install-dependencies
run: |
Expand Down Expand Up @@ -171,7 +171,7 @@ jobs:
id: install-pnpm
uses: pnpm/[email protected]
with:
version: '^7.2.1'
version: '^8.5.1'
- name: Install dependencies 🔧
id: install-dependencies
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/PROD-studios.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ jobs:
id: install-pnpm
uses: pnpm/[email protected]
with:
version: '^7.2.1'
version: '^8.5.1'
- name: Install dependencies 🔧
id: install-dependencies
run: |
Expand Down Expand Up @@ -167,7 +167,7 @@ jobs:
id: install-pnpm
uses: pnpm/[email protected]
with:
version: '^7.2.1'
version: '^8.5.1'
- name: Install dependencies 🔧
id: install-dependencies
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/TEST-studio.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
id: install-pnpm
uses: pnpm/[email protected]
with:
version: '^7.2.1'
version: '^8.5.1'
- name: Install dependencies 🔧
id: install-dependencies
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/TEST-web.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
id: install-pnpm
uses: pnpm/[email protected]
with:
version: '^7.2.1'
version: '^8.5.1'
- name: Cache pnpm modules 💾
uses: actions/setup-node@v3
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/a11y.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
id: install-pnpm
uses: pnpm/[email protected]
with:
version: '^7.2.1'
version: '^8.5.1'
- name: Install dependencies 🔧
id: install-dependencies
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/equinor-algolia-indexers.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
id: install-pnpm
uses: pnpm/[email protected]
with:
version: '^7.2.1'
version: '^8.5.1'
- name: Cache pnpm modules 💾
uses: actions/setup-node@v3
with:
Expand Down Expand Up @@ -77,7 +77,7 @@ jobs:
id: install-pnpm
uses: pnpm/[email protected]
with:
version: '^7.2.1'
version: '^8.5.1'
- name: Cache pnpm modules 💾
uses: actions/setup-node@v3
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/fotoware-redirect.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
id: install-pnpm
uses: pnpm/[email protected]
with:
version: '^7.2.1'
version: '^8.5.1'
- name: Cache pnpm modules 💾
uses: actions/setup-node@v3
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/storybook-pro.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
id: install-pnpm
uses: pnpm/[email protected]
with:
version: '^7.2.1'
version: '^8.5.1'
- name: Install dependencies 🔽
id: install-dependencies
run: |
Expand Down
2 changes: 1 addition & 1 deletion studio/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
FROM node:lts-alpine AS builder

ENV NODE_OPTIONS="--max_old_space_size=8192"
RUN npm install -g pnpm@^7.2.1
RUN npm install -g pnpm@^8.5.1

WORKDIR /opt/app

Expand Down
2 changes: 1 addition & 1 deletion web/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ COPY web/package.json web/pnpm-lock.yaml web/
COPY web/patches web/patches

RUN \
if [ -f pnpm-lock.yaml ]; then yarn global add pnpm@^7.2.1 && pnpm m i --frozen-lockfile;\
if [ -f pnpm-lock.yaml ]; then yarn global add pnpm@^8.5.1 && pnpm m i --frozen-lockfile;\
else echo "Lockfile not found." && exit 1; \
fi

Expand Down

0 comments on commit dad7864

Please sign in to comment.