From e1cb1dd25f7ce14649251407a07bf5403a382bcb Mon Sep 17 00:00:00 2001 From: Maidang1 Date: Tue, 23 Jul 2024 11:56:31 +0000 Subject: [PATCH] chore: test build --- .github/workflows/release.yml | 5 ++++- packages/virtual/README.md | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index aa91e96..9a66d68 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -36,11 +36,14 @@ jobs: for package in dsv react-components virtual yaml strip image url icons do folder_path="/tmp/artifacts/${{github.sha}}-${abi}-${package}" - if [ -d "${folder_path}"] && [ -n "$(ls -A $folder_path)"]; then + if [ -d "${folder_path}"] && [ -n "$(ls -A $folder_path)" ]; then mv /tmp/artifacts/${{ github.sha }}-${abi}-${package}/* ./packages/${package}/npm/${abi} ls -R $folder_path ls -R ./packages/${package}/npm/${abi} test -f ./packages/${package}/npm/${abi}/index.farm + else + echo "${folder_path} is empty" + ls -R $folder_path fi done done diff --git a/packages/virtual/README.md b/packages/virtual/README.md index 8277bc2..6741fcd 100644 --- a/packages/virtual/README.md +++ b/packages/virtual/README.md @@ -7,7 +7,7 @@ Inspired By [@rollup/plugin-virtual](https://www.npmjs.com/package/@rollup/plugi ## install ```bash -pnpm add @farmfe/plugin-virtual --save-dev +pnpm add @farmfe/plugin-virtual --save-dev # or yarn add @farmfe/plugin-virtual --dev ``` ## Usage