Skip to content

chore(ci): add job timeout to prevent hung workflows (#457) #217

chore(ci): add job timeout to prevent hung workflows (#457)

chore(ci): add job timeout to prevent hung workflows (#457) #217

Workflow file for this run

name: Build
on:
push:
pull_request:
branches:
- master
jobs:
build:
name: Unit Tests
timeout-minutes: 15
strategy:
matrix:
node-version:
- 18.x
- 20.x
os:
- ubuntu-latest
- windows-latest
- macOS-latest
runs-on: ${{ matrix.os }}
steps:
- name: git checkout
uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
- run: npm test