Skip to content

Commit

Permalink
drop! debug CI
Browse files Browse the repository at this point in the history
  • Loading branch information
derhuerst committed Dec 21, 2023
1 parent 87e0318 commit 99f437d
Showing 1 changed file with 15 additions and 5 deletions.
20 changes: 15 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 99f437d

Please sign in to comment.