Skip to content

use ESM for bin

use ESM for bin #22

Workflow file for this run

name: Use openCV from Chocolatey
on:
push:
branches: [ "never", "test", "deno" ]
paths: ['src/**', '*.ts', '.github/workflows/w64-detect.yml' ]
# pull_request:
# branches: [ "master" ]
jobs:
build:
runs-on: windows-latest
strategy:
matrix:
# node-version: [14.x, 16.x, 18.x]
opencv_version:
- 4.9.0
- 4.6.0
env:
OPENCV4NODEJS_DISABLE_AUTOBUILD: 1
steps:
- uses: actions/checkout@v3
- uses: denoland/setup-deno@v1
with:
deno-version: v1.x
- name: Install OpenCV ${{ matrix.opencv_version }}
run: |
choco install OpenCV -y --version ${{ matrix.opencv_version }}
- name: Detect OpenCV
run: deno run -A main.ts --verbose
- run: deno test -A