Skip to content

drop! debug CI

drop! debug CI #68

Workflow file for this run

name: test
on:
push:
branches:
- '*'
pull_request:
branches:
- '*'
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: ['16']
steps:
- name: checkout
uses: actions/checkout@v2
- name: setup Node v${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: npm install
- run: npm run build
- run: npm install --workspaces
- run: npm run lint
- run: npm run build
- run: npm test
- name: test-install ffmpeg-static as dependency
run: |
set -u
set -o pipefail
set -x # todo: remove
ls -al packages
for path in packages/*; do
pkg="$(basename "$path")"
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