Skip to content

Commit 923e3f1

Browse files
committed
chore(ci): install pnpm 10
1 parent 65bd4c5 commit 923e3f1

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

Dockerfile

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,14 @@ FROM ghcr.io/actions/actions-runner:2.329.0
33
RUN sudo apt update -y && \
44
sudo apt install -y curl make bash jq
55

6-
# Install Node.js 22 and npm 10
6+
# Install Node.js 22
77
RUN curl -fsSL https://deb.nodesource.com/setup_22.x | sudo -E bash - && \
8-
sudo apt-get install -y nodejs && \
9-
sudo npm install -g npm@10
8+
sudo apt-get install -y nodejs
9+
10+
# Install pnpm 10
11+
RUN curl -fsSL https://get.pnpm.io/install.sh | env PNPM_VERSION=10 sh - && \
12+
mv /root/.local/share/pnpm/pnpm /usr/local/bin/pnpm && \
13+
chmod +x /usr/local/bin/pnpm
1014

1115
# Install Docker Buildx
1216
RUN BUILDX_VERSION=$(curl -s "https://api.github.com/repos/docker/buildx/releases/latest" | jq -r .tag_name) && \

0 commit comments

Comments
 (0)