From 20912232758359ba3888c451d2757abaf4b41d23 Mon Sep 17 00:00:00 2001 From: Dessalines Date: Sun, 28 Jan 2024 12:30:12 -0500 Subject: [PATCH] Try 3 --- .woodpecker.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index 6df5dcaf..bde30c3f 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -1,3 +1,6 @@ +variables: + - &install_pnpm: 'wget -qO- https://get.pnpm.io/install.sh | ENV="$HOME/.shrc" SHELL="$(which sh)" sh -' + steps: fetch_git_submodules: image: node:20-alpine @@ -5,23 +8,24 @@ steps: - apk add git - git submodule init - git submodule update --recursive --remote - # Install pnpm - - wget -qO- https://get.pnpm.io/install.sh | ENV="$HOME/.shrc" SHELL="$(which sh)" sh - - - source /root/.shrc + #- source /root/.shrc install: image: node:20-alpine commands: + - *install_pnpm - pnpm i lint: image: node:20-alpine commands: + - *install_pnpm - pnpm lint build_dev: image: node:20-alpine commands: + - *install_pnpm - pnpm build:dev publish_release_docker: