Skip to content

Re-enable tests

Re-enable tests #86

Workflow file for this run

name: CI
on:
- push
# - pull_request
jobs:
test:
name: Node.js ${{ matrix.node-version }}
runs-on: macos-15
strategy:
fail-fast: false
matrix:
node-version:
- 20
# - 18
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- run: npm install
- run: npm run build
- run: npm test
- name: Upload build
uses: actions/upload-artifact@v3
with:
name: binding-artifact-${{ matrix.node-version }}
path: build
test-intel:
# needs: [test]
name: Node.js ${{ matrix.node-version }} (Intel)
runs-on: macos-13
strategy:
fail-fast: false
matrix:
node-version:
- 20
# - 18
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- run: sudo sqlite3 /Library/Application\ Support/com.apple.TCC/TCC.db "select * from access;" | grep kTCCServiceScreenCapture
- run: sudo sqlite3 /Library/Application\ Support/com.apple.TCC/TCC.db "select * from access;"
- run: node temp.js
- run: npm install
- name: Download build
uses: actions/download-artifact@v3
with:
name: binding-artifact-${{ matrix.node-version }}
path: build
- run: npm test