From e7fc232ba7fb93161d032aeeb731ca54daf0404d Mon Sep 17 00:00:00 2001 From: YuanHuakk <1751826683@qq.com> Date: Tue, 18 Mar 2025 15:53:37 +0800 Subject: [PATCH] ci(custom): update --- .drone.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.drone.yml b/.drone.yml index 0a52d62..07abec7 100644 --- a/.drone.yml +++ b/.drone.yml @@ -9,29 +9,27 @@ platform: steps: - name: 测试服-构建部署 pull: if-not-exists - image: node:20-alpine + image: node:22-alpine when: branch: - test commands: - npm install -g pnpm - pnpm config set registry https://registry.npmmirror.com/ - - pnpm config set store-dir ./.pnpm-store - - pnpm install --frozen-lockfile + - pnpm install - pnpm build:weapp:test:upload - rm -rf dist.tar - name: 正式服-构建部署 pull: if-not-exists - image: node:20-alpine + image: node:22-alpine when: branch: - master commands: - npm install -g pnpm - pnpm config set registry https://registry.npmmirror.com/ - - pnpm config set store-dir ./.pnpm-store - - pnpm install --frozen-lockfile + - pnpm install - pnpm build:weapp:prod:upload - rm -rf dist.tar