From 99f437d7d14998b2ea364da2de879e1aeb8ddb85 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 | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 1bebf06..daf6770 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -28,11 +28,21 @@ jobs: - run: npm install --workspaces - run: npm run lint + - run: npm run build - 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 + ls -al + for path in packages/*; do + pkg="$(basename "$file")" + tgz="$(npm pack -s --workspace "$pkg" | xargs)" + + pushd . + cd "$(mktemp -d)" + npm init -y + npm i "$tgz" + file "$(node -p "require('$pkg')")" + "$(node -p "require('$pkg')")" -L + popd + done