ci: skip corepack auto pin, clean up
This commit is contained in:
parent
035cff71f3
commit
2ad318b37f
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user