summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Ofer Shaal <shaalofer@gmail.com> 2022-08-31 12:13:06 -0400
committerGravatar GitHub <noreply@github.com> 2022-08-31 11:13:06 -0500
commita5b659e91c5eb166e32cbe2beb9e3751e7ad99a1 (patch)
tree2bde65c4823c2d61c823672a03828fe262e12590
parent9ad307a9fca064dcd9b2f27c3243d09d9154a5dc (diff)
downloadastro-a5b659e91c5eb166e32cbe2beb9e3751e7ad99a1.tar.gz
astro-a5b659e91c5eb166e32cbe2beb9e3751e7ad99a1.tar.zst
astro-a5b659e91c5eb166e32cbe2beb9e3751e7ad99a1.zip
fix: always get latest pnpm (#4571)
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
-rw-r--r--.gitpod.yml6
1 files changed, 5 insertions, 1 deletions
diff --git a/.gitpod.yml b/.gitpod.yml
index 3bca56d1d..83205f4df 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: |