Skip to content

Safely override .kind and Buffer improvements #948

Safely override .kind and Buffer improvements

Safely override .kind and Buffer improvements #948

Workflow file for this run

name: Tests
on:
pull_request:
branches: [main]
push:
branches: [main]
workflow_dispatch:
jobs:
smoke-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 20
- name: Run Smoke Tests
run: |
npm ci
npm run test:smoke
unit-tests:
needs: smoke-tests # to avoid writing over each others output
strategy:
matrix:
version: [20, 18]
platform: [ macos-latest, ubuntu-latest, windows-latest ]
runs-on: ${{ matrix.platform }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.version }}
- name: Run Unit Tests
run: |
npm ci
npm run test:unit