Skip to content

Merge pull request #242 from stephengtuggy/dependabot/npm_and_yarn/ty… #984

Merge pull request #242 from stephengtuggy/dependabot/npm_and_yarn/ty…

Merge pull request #242 from stephengtuggy/dependabot/npm_and_yarn/ty… #984

Workflow file for this run

name: Node
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
workflow_dispatch:
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ windows-2022, ubuntu-22.04, macos-12, macos-13, macos-14 ]
node-version: [ 20.x, 22.x ]
steps:
- name: checkout
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 #v4.1.7
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6 # v4.0.4
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
- run: npm run build --if-present
- run: npm run test