CI: Build and publish #7

Merged
lsr merged 14 commits from temp/ci-work into main 2024-09-24 21:31:21 +00:00
2 changed files with 4 additions and 6 deletions
Showing only changes of commit 2ad318b37f - Show all commits

View File

@ -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

View File

@ -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