From 4b9440ffc114e0f2947e4d74c619ec487550f92f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=B2=81=E6=A0=91=E4=BA=BA?= Date: Sat, 10 Jun 2023 17:31:12 +0100 Subject: [PATCH] Revert "ci: make use of pnpm store cache (#23)" This reverts commit dd6a74f3f526ce284f5639f3c93ed24e33213095. --- .drone.yml | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/.drone.yml b/.drone.yml index c3d60c7..f82f0b5 100644 --- a/.drone.yml +++ b/.drone.yml @@ -6,17 +6,11 @@ name: default steps: - name: test & build image: node:18.16.0-bullseye - volumes: - - name: pnpm-store-cache - path: /drone/.pnpm-store commands: # - git config --global --add safe.directory "/drone/src" - - corepack enable # npm i -g pnpm + - npm install -g pnpm - pnpm i --frozen-lockfile - pnpm build - environment: - npm_config_store_dir: /drone/.pnpm-store - npm_config_package_import_method: copy - name: publish image: node:18.16.0-bullseye @@ -34,8 +28,3 @@ steps: - (cd dist && zip -r -9 ../um-react.zip .) - ./scripts/publish.sh - ./scripts/deploy.sh - -volumes: - - name: pnpm-store-cache - host: - path: /tmp/.pnpm-store