diff --git a/.drone.yml b/.drone.yml index 5449480..3b76551 100644 --- a/.drone.yml +++ b/.drone.yml @@ -26,11 +26,13 @@ steps: environment: NPM_TOKEN: from_secret: NPM_TOKEN + COREPACK_ENABLE_AUTO_PIN: 0 + BUILD_SKIP_WASM_PACK: 1 depends_on: - "build (wasm_pack)" commands: - - corepack enable pnpm + - corepack enable - cd um_wasm_loader - pnpm i - - BUILD_SKIP_WASM_PACK=1 pnpm build + - pnpm build - ./ci_publish.sh diff --git a/um_wasm_loader/ci_publish.sh b/um_wasm_loader/ci_publish.sh index 79045c7..68444a1 100755 --- a/um_wasm_loader/ci_publish.sh +++ b/um_wasm_loader/ci_publish.sh @@ -1,9 +1,5 @@ #!/bin/bash -echo 'git status:' -git status -git diff - if [[ -z "${DRONE_TAG}" ]]; then echo "skip package publish, pack only." pnpm pack