mirror of
https://github.com/Modernizr/Modernizr.git
synced 2026-01-09 15:47:55 -05:00
* try to update code coverage tooling * split testing and coverage * cleanups * bump patched dependencies * fix jsdoc errors * undo node version bump * cleanup gitignore * fix script name
26 lines
656 B
YAML
26 lines
656 B
YAML
name: Testing
|
|
|
|
on: [push, pull_request]
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ${{ matrix.os }}
|
|
strategy:
|
|
matrix:
|
|
os: [ubuntu-latest, windows-latest, macos-latest]
|
|
node-version: [16.x, 18.x, 20.x]
|
|
steps:
|
|
- name: Checkout code
|
|
uses: actions/checkout@v4
|
|
- name: Installing Node ${{ matrix.node-version }}
|
|
uses: actions/setup-node@v4
|
|
with:
|
|
node-version: ${{ matrix.node-version }}
|
|
cache: npm
|
|
- name: Installing dependencies
|
|
run: npm ci
|
|
- name: Installing gulp command line interface
|
|
run: npm install gulp-cli
|
|
- name: Run tests
|
|
run: npm test
|