From 6119c437ae295b6089a250a9f4f90e348cbd5ed3 Mon Sep 17 00:00:00 2001 From: Jannis R Date: Thu, 21 Dec 2023 18:13:19 +0100 Subject: [PATCH] drop! debug CI --- .github/workflows/test.yml | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 1bebf06..51b8671 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -31,8 +31,15 @@ jobs: - run: npm test - name: test-install ffmpeg-static as dependency run: | - file=$(npm pack -s) && file=$(realpath $file) - cd $(mktemp -d) && npm init -y - npm i "$file" - file $(node -p 'require("ffmpeg-static")') - $(node -p 'require("ffmpeg-static")') --help + set -x + for file in $(npm pack -s --workspaces | xargs); do + file="$(realpath $file)" + + pushd . + cd "$(mktemp -d)" + npm init -y + npm i "$file" + file "$(node -p 'require("ffmpeg-static")')" + "$(node -p 'require("ffmpeg-static")')" --help + popd + done