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 98307df
Showing 1 changed file with 14 additions and 5 deletions.
19 changes: 14 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ jobs:
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: sudo apt install -y jq

- run: npm install
- run: npm run build
Expand All @@ -31,8 +32,16 @@ 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"
pkg="$(jq -r .name package.json)"
file "$(node -p "require('$pkg')")"
"$(node -p "require('$pkg')")" -L
popd
done

0 comments on commit 98307df

Please sign in to comment.