mirror of
https://github.com/Modernizr/Modernizr.git
synced 2026-01-09 07:38:03 -05:00
* Update workflow actions * Update dependencies --------- Co-authored-by: veeck <gitkraken@veeck.de>
26 lines
697 B
YAML
26 lines
697 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: [20.x, 22.x, 24.x]
|
|
steps:
|
|
- name: Checkout code
|
|
uses: actions/checkout@v6
|
|
- name: Installing Node ${{ matrix.node-version }}
|
|
uses: actions/setup-node@v6
|
|
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 -- --no-sandbox --disable-setuid-sandbox
|