Skip to content

CI test workflow: run npm install --workspaces 💚 #59

CI test workflow: run npm install --workspaces 💚

CI test workflow: run npm install --workspaces 💚 #59

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 --workspaces
- run: npm run lint
- 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