From a5b659e91c5eb166e32cbe2beb9e3751e7ad99a1 Mon Sep 17 00:00:00 2001 From: Ofer Shaal Date: Wed, 31 Aug 2022 12:13:06 -0400 Subject: [PATCH] fix: always get latest pnpm (#4571) Co-authored-by: Nate Moore --- .gitpod.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.gitpod.yml b/.gitpod.yml index 3bca56d1d0..83205f4df3 100644 --- a/.gitpod.yml +++ b/.gitpod.yml @@ -3,7 +3,11 @@ image: file: .Dockerfile # Commands to start on workspace startup tasks: - - init: | + - before: | + # Get latest pnpm version, in case the custom docker image was not updated + # Until this issue gets resolved - https://github.com/gitpod-io/gitpod/issues/12551 + curl -fsSL https://get.pnpm.io/install.sh | SHELL=`which bash` bash - + init: | pnpm install pnpm run build command: |