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