Skip to content

drop! debug CI

drop! debug CI #65

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: sudo apt install -y jq
- run: npm install
- run: npm run build
- run: npm install --workspaces
- run: npm run lint
- run: npm test
- name: test-install ffmpeg-static as dependency
run: |
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