ci: skip corepack auto pin, clean up
Some checks failed
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is failing

This commit is contained in:
鲁树人 2024-09-24 22:21:58 +01:00
parent 035cff71f3
commit 2ad318b37f
2 changed files with 4 additions and 6 deletions

View File

@ -26,11 +26,13 @@ steps:
environment: environment:
NPM_TOKEN: NPM_TOKEN:
from_secret: NPM_TOKEN from_secret: NPM_TOKEN
COREPACK_ENABLE_AUTO_PIN: 0
BUILD_SKIP_WASM_PACK: 1
depends_on: depends_on:
- "build (wasm_pack)" - "build (wasm_pack)"
commands: commands:
- corepack enable pnpm - corepack enable
- cd um_wasm_loader - cd um_wasm_loader
- pnpm i - pnpm i
- BUILD_SKIP_WASM_PACK=1 pnpm build - pnpm build
- ./ci_publish.sh - ./ci_publish.sh

View File

@ -1,9 +1,5 @@
#!/bin/bash #!/bin/bash
echo 'git status:'
git status
git diff
if [[ -z "${DRONE_TAG}" ]]; then if [[ -z "${DRONE_TAG}" ]]; then
echo "skip package publish, pack only." echo "skip package publish, pack only."
pnpm pack pnpm pack