Skip to content

Commit

Permalink
use globstar
Browse files Browse the repository at this point in the history
  • Loading branch information
trxcllnt committed May 20, 2024
1 parent fa4088e commit 4a3de8b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/main.pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,9 @@ jobs:
# Install the package into a temp dir
_tmp="$(mktemp -d)";
mkdir -p "${_tmp}/node_modules/${pkg_name}";
cp -ar "${targetdir}"/{*,.*} "${_tmp}/node_modules/${pkg_name}/";
shopt -s globstar;
cp -ar "${targetdir}"/**/* "${_tmp}/node_modules/${pkg_name}/";
shopt -u globstar;
cd "${_tmp}/node_modules/${pkg_name}";
npm i;
cd "${_tmp}/";
Expand Down

0 comments on commit 4a3de8b

Please sign in to comment.