Skip to content

attempt reusable sign-binary workflow #1032

attempt reusable sign-binary workflow

attempt reusable sign-binary workflow #1032

Workflow file for this run

name: Run Unit Tests
on:
pull_request:
jobs:
unit-tests:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os:
- macos-13
- macos-14
- ubuntu-24.04
- windows-2022
node-version:
- "20"
steps:
# Install deps and cache
- name: Checkout code
uses: actions/checkout@v4
- name: Install node ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: npm
- name: Install dependencies
run: npm clean-install --prefer-offline --frozen-lockfile
# Run unit tests
- name: Run unit tests
run: npm run test:unit